public Task <Article> HandleAsync(ArticleQuantityPayload input, ExternalTask task) { return(_service.UpdateArticleQuantity(task.CorrelationId, input.NoteId, input.ArticleId, input.Quantity));; }
public Task <Article> HandleAsync(StockyardLocationPayload input, ExternalTask task) { var article = _service.UpdateArticleQuantity(input.NoteId, input.ArticleId, input.Quantity); return(Task.FromResult(article)); }