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")); }
public ActionResult DeleteUserTask(Gbl_Master_Task _model) { _details = new AdminDetails(); ReturnAlertMessage(_details.TaskCreate(Enums.CrudType.Delete, _model)); return(View("CreateUserTask")); }