public List <DateTime> GetAllRegistrationDates() { return(Dbset.OrderBy(x => x.DateRegistered).Select(x => x.DateRegistered).ToList()); }
public List <CompanySector> GetAll() { var records = Dbset.OrderBy(s => s.SectorName).ToList(); return(records); }
public List <DateTime> GetAllTaskCreateDates() { return(Dbset.OrderBy(x => x.DateCreated).Select(x => x.DateCreated).ToList()); }
public async Task <List <AccountEntity> > GetAllAsync() { var records = await Dbset.OrderBy(r => r.Name).ToListAsync(); return(records); }