using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace EnvigoHiring.Models
{
    public class BaseClass
    {
        public string UserID { get; set; }
        public string FilePath { get; set; }
        public string Active { get; set; }
        public string lblMessage { get; set; }
        public bool Display { get; set; }
        public string SetCSS { get; set; }
        public string MessageType { get; set; }
        public BaseClass()
        {
            //UserID = Users.LoginDetail().UserID.ToString().Trim();
        }
        //public void Savedata(iSaveData t, object k)
        //{
        //    var save = t.Save(k);
        //    alert(save.Message, save.isSuccess);
        //}
        public void alert(string message, bool success)
        {
            lblMessage = message;
            MessageType = (success == true) ? "success" : "danger";
        }
    }
}