public JsonResult UpdateEvaluators(ViewModel_Evaluators model) { int modify_by = Convert.ToInt32(User.Identity.Name); model.modify_by = modify_by; bool result = obj_eval.UpdateCampaignSpecificEvaluators(model); if (result == true) { // EmailToEvaluators(model); } return(Json(result)); }
public JsonResult AddCampaignSpecificEvaluators(ViewModel_Evaluators model) { int entry_by = Convert.ToInt32(User.Identity.Name); model.entry_by = entry_by; int campid = Convert.ToInt32(Session["Campaign_Id"].ToString()); model.camp_id = campid; bool result = obj.AddCampaignSpecificEvaluators(model); if (result == true) { //EmailToEvaluators(model); } return(Json(result)); }