Пример #1
0
        public async Task <ActionResult> Update(int id, PagoUpdateDto model)
        {
            if (_PagoService.Existencia(id) == true)
            {
                await _PagoService.Update(id, model);

                return(NoContent());
            }
            else
            {
                return(NotFound());
            }
        }