public HttpResponseMessage Adicionar(CategoriaRequest request) { try { var response = _servico.Adicionar(request); return(Response(response, _servico)); } catch (Exception ex) { return(ResponseException(ex)); } }
public HttpResponseMessage Adicionar(CategoriaRequest request) { try { var response = _servico.Adicionar(request); return(Response(response, _servico)); } catch (Exception ex) { return(ResponseException(ex)); } }