示例#1
0
 public ActionResult SaveUserTask(Gbl_Master_Task _model)
 {
     if (ModelState.IsValid)
     {
         _details = new AdminDetails();
         ReturnAlertMessage(_details.TaskCreate(Enums.CrudType.Insert, _model));
     }
     else
     {
         //GetErrorList();
     }
     return(View("CreateUserTask"));
 }
示例#2
0
 public ActionResult DeleteUserTask(Gbl_Master_Task _model)
 {
     _details = new AdminDetails();
     ReturnAlertMessage(_details.TaskCreate(Enums.CrudType.Delete, _model));
     return(View("CreateUserTask"));
 }