public async Task <IActionResult> Save([FromBody] EDeliveryProductCategory eCategory) { string id = await SDeliveryProductsCategories.Save(eCategory); return(Ok(id)); }
public async Task <IActionResult> Remove(string id) { var ok = await SDeliveryProductsCategories.Remove(id); return(Ok(ok)); }
public IActionResult GetCount(string companyID) { Int64 totalListCount = SDeliveryProductsCategories.GetCount(companyID); return(Ok(totalListCount)); }
public async Task <IActionResult> GetByID(string id) { EDeliveryProductCategory eDeliveryProduct = await SDeliveryProductsCategories.GetByID(id); return(Ok(eDeliveryProduct)); }
public IActionResult GetAll(string companyID, int listCount = -1, int pageNumber = 0, string orderBy = "position asc") { var list = SDeliveryProductsCategories.GetAll(companyID, listCount, pageNumber, orderBy); return(Ok(list)); }