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