Пример #1
0
        public async Task <IActionResult> GetAllBrands()
        {
            var brands = await _repo.GetAllBrands();

            if (brands != null)
            {
                return(Ok(brands));
            }
            return(NotFound());
        }