public new IEnumerable <EntranceAndExit> GetAll() { return(_context.Set <EntranceAndExit>().OrderByDescending(x => x.CreationDate)); }
public T Get(int id) { return(_context.Set <T>().Find(id)); }