Esempio n. 1
0
        public IActionResult UpdateAlert(Alert model)
        {
            if (ModelState.IsValid)
            {
                _alertService.UpdateModel(model);

                return(Ok(model));
            }

            return(BadRequest(ModelState));
        }