Example #1
0
        public async Task <ActionResult <IEnumerable <Cataloges> > > GetCataloge2()
        {
            var result = _catalogesRepository.GetAllCataloges();

            return(Ok(result));
        }
Example #2
0
 public IActionResult GetAllCataloge()
 {
     result = _catalogesRepository.GetAllCataloges();
     return(Ok(result));
 }