public Collection <SingleOrderModel> Get() { return(SingleOrderProcessor.GetAllResults()); }
public int Post([FromBody] SingleOrderModel model) { return(SingleOrderProcessor.CreateSingleOrder(model.Id, model.CustomerId, model.PaymentType, model.Adress, model.DeliveryType, model.Price)); }