public JobDescriptionData Get(int id) { using (section8Entities entities = new section8Entities()) { return(entities.JobDescriptionDatas.FirstOrDefault(e => e.ID == id)); } }
public DropDownFilter Get(int id) { using (section8Entities entities = new section8Entities()) { return(entities.DropDownFilters.FirstOrDefault(e => e.ID == id)); } }
public IEnumerable <JobDescriptionData> Get() { using (section8Entities entities = new section8Entities()) { return(entities.JobDescriptionDatas.ToList()); } }
public IEnumerable <DropDownFilter> Get() { using (section8Entities entities = new section8Entities()) { return(entities.DropDownFilters.ToList()); } }