public async Task <IActionResult> Save([FromBody] EDeliveryOrder eOrder) { var result = await SDeliveryOrders.Save(eOrder); return(Ok(result)); }
public IActionResult GetByID(string id) { var result = SDeliveryOrders.GetByID(id); return(Ok(result)); }
public IActionResult GetCount(string companyID) { Int64 totalListCount = SDeliveryOrders.GetCount(companyID); return(Ok(totalListCount)); }
public IActionResult GetAll(string companyID, int listCount = -1, int pageNumber = 0, string orderBy = "id desc") { var list = SDeliveryOrders.GetAll(companyID, listCount, pageNumber, orderBy); return(Ok(list)); }
public IActionResult ConfirmOrder([FromBody] EDeliveryConfirmOrder eDeliveryConfirmOrder) { return(Ok(SDeliveryOrders.ConfirmOrder(eDeliveryConfirmOrder))); }
public async Task <IActionResult> Remove(string id) { var result = await SDeliveryOrders.Remove(id); return(Ok(result)); }