public async Task <ActionResult <IEnumerable <Blog> > > GetAll()
 {
     return(Ok(await _blogLogic.GetAllAsync()));
 }
Example #2
0
 public async Task <List <Blog> > GetAllAsync()
 {
     _logger.LogInformation("BlogService.GetAll");
     return(await _blogLogic.GetAllAsync());
 }