Esempio n. 1
0
        public async Task <IActionResult> Put([FromBody] GlobalModel model)
        {
            try
            {
                var result = await _globalService.UpdateGlobal(model);

                return(Ok(result));
            }
            catch (Exception ex)
            {
                return(BadRequest(ex));
            }
        }