public HttpResponseMessage UpdateGlobalConfiguration(List <AL_GetAlertConfiguration> Configuration) { Response result = new Response(); AL_AlertBL model = new AL_AlertBL(); model.UpdateConfiguration("Update_Alert_Configurations", Configuration); result.Message = "Alerts configured successfully."; return(Request.CreateResponse(HttpStatusCode.OK, result)); }
public HttpResponseMessage UpdateConfiguration(List <AL_GetAlertConfiguration> Configuration) { Response result = new Response(); AL_AlertBL model = new AL_AlertBL(); model.UpdateConfiguration("Update_User_Alert_Configurations", Configuration); result.Message = "User Alert Permissions Saved Successfully."; result.Status = "true"; return(Request.CreateResponse(HttpStatusCode.OK, result)); }