public IEnumerable <Access> GetAll() { return(_accessRepository.GetAll()); }
public IEnumerable <AccessDto> GetAll() { return(repository.GetAll().Select(mapper.Map <Access, AccessDto>).ToList()); }
public IEnumerable <User> GetAll() { return(_repository.GetAll()); }
public IEnumerable <Access> GetAll([FromServices] IAccessRepository repository) { return(repository.GetAll()); }