public async Task <IActionResult> Remove(string id) { var ok = await SDeliveryProductsOptions.Remove(id); return(Ok(ok)); }
public IActionResult GetCount(string companyID) { Int64 totalListCount = SDeliveryProductsOptions.GetCount(companyID); return(Ok(totalListCount)); }
public IActionResult GetByID(string id) { EDeliveryProductOption eDeliveryProductOption = SDeliveryProductsOptions.GetByID(id); return(Ok(eDeliveryProductOption)); }
public IActionResult GroupContainsPrice(string parentGroupID) { var ok = SDeliveryProductsOptions.GroupContainsPrice(parentGroupID); return(Ok(ok)); }
public IActionResult GetChildOptions(string parentGroupID) { var list = SDeliveryProductsOptions.GetChildOptions(parentGroupID); return(Ok(list)); }
public IActionResult GetAllGroupNames(string companyID) { var list = SDeliveryProductsOptions.GetAllGroupNames(companyID); return(Ok(list)); }
public IActionResult GetAll(string companyID, int listCount = -1, int pageNumber = 0, string orderBy = "name asc") { var list = SDeliveryProductsOptions.GetAll(companyID, listCount, pageNumber, orderBy); return(Ok(list)); }
public async Task <IActionResult> Save([FromBody] EDeliveryProductOption eDeliveryProductOption) { string id = await SDeliveryProductsOptions.Save(eDeliveryProductOption); return(Ok(id)); }