public Staff Find(int id) { using (var context = new CercetasiEntities()) { return(context.Staffs.Find(id)); } }
public IEnumerable <Staff> GetAll() { using (var context = new CercetasiEntities()) { return(context.Staffs.ToList()); } }
public Trecere Find(int id) { using (var context = new CercetasiEntities()) { return(context.Treceres.Find(id)); } }
public IEnumerable <Trecere> GetAll() { using (var context = new CercetasiEntities()) { return(context.Treceres.ToList()); } }
public Punct Find(int id) { using (var context = new CercetasiEntities()) { return(context.Puncts.Find(id)); } }
public IEnumerable <Punct> GetAll() { using (var context = new CercetasiEntities()) { return(context.Puncts.ToList()); } }