Ejemplo n.º 1
0
        public async Task <IHttpActionResult> GetItems(int hiveSectionId)
        {
            var hive = await _hiveSectionProductService.GetHiveSectionProductsAsync(hiveSectionId);

            return(Ok(hive));
        }
Ejemplo n.º 2
0
        public async Task <IHttpActionResult> GetHiveSectionProducts()
        {
            var items = await _hiveSectionProductService.GetHiveSectionProductsAsync();

            return(Ok(items));
        }