public async Task <IHttpActionResult> GetItems(int hiveSectionId) { var hive = await _hiveSectionProductService.GetHiveSectionProductsAsync(hiveSectionId); return(Ok(hive)); }
public async Task <IHttpActionResult> GetHiveSectionProducts() { var items = await _hiveSectionProductService.GetHiveSectionProductsAsync(); return(Ok(items)); }