public async Task <HttpResponseMessage> Post([FromBody] ProdutoClienteSaida produtoClienteSaidas) { try { await _produtoClienteSaidaAppService.Add(produtoClienteSaidas); NotificationHub.SendMessageNew(string.Format("Pedido efetuado com Sucesso {0}", Guid.NewGuid())); return(await Task.Factory.StartNew(() => new HttpResponseMessage { StatusCode = HttpStatusCode.OK })); } catch (Exception ex) { return(Request.CreateResponse(HttpStatusCode.InternalServerError, ex.Message)); } }
public Task RemovePhysical(ProdutoClienteSaida obj) { throw new System.NotImplementedException(); }
public Task RemoveLogic(int id, ProdutoClienteSaida obj) { throw new System.NotImplementedException(); }
public Task Update(ProdutoClienteSaida obj) { throw new System.NotImplementedException(); }