Esempio n. 1
0
        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));
        }
Esempio n. 2
0
        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));
        }