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)); } }
public Task <ClienteAlterarViewModel> AlterarCliente(ClienteAlterarViewModel cliente) { throw new NotImplementedException(); }