Пример #1
0
        public async Task <ActionResult <ClienteAlterarViewModel> > AlterarCliente(ClienteAlterarViewModel clienteIncluirViewModel)
        {
            try
            {
                if (!ModelState.IsValid)
                {
                    return(CustomResponse(ModelState));
                }
                await _clienteapp.AlterarCliente(clienteIncluirViewModel);

                return(CustomResponse(clienteIncluirViewModel));
            }
            catch (Exception ex)
            {
                return(CustomResponse(ex));
            }
        }
Пример #2
0
 public Task <ClienteAlterarViewModel> AlterarCliente(ClienteAlterarViewModel cliente)
 {
     throw new NotImplementedException();
 }