public ActionResult AddPaySlipMapping(DataModel.Master.EmployeePaySlipMapping obj)
 {
     try
     {
         SessLogObj = (LoginSessionDetails)HttpContext.Session["SessionInformation"];
         objRes     = obj.Save(obj, Convert.ToInt32(SessLogObj.USERID));
         return(Json(objRes, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public JsonResult Delete(int Id)
        {
            try
            {
                SessLogObj = (LoginSessionDetails)HttpContext.Session["SessionInformation"];
                DataModel.Master.EmployeePaySlipMapping obj = new DataModel.Master.EmployeePaySlipMapping();
                obj.IFLAG   = "D";
                obj.MID     = Id;
                obj.FORMULA = "";

                objRes = obj.Save(obj, Convert.ToInt32(SessLogObj.USERID));
                return(Json(objRes, JsonRequestBehavior.AllowGet));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }