public IEnumerable <AuthorViewModel> GetAuthors() { return(Mapper.Map <IEnumerable <Author>, List <AuthorViewModel> >(_authorRepository.GetAll())); }
public IEnumerable <MagazineViewModel> GetMagazines() { return(Mapper.Map <IEnumerable <Magazine>, List <MagazineViewModel> >(_magazineRepository.GetAll())); }
//private CareerCloudContext db = new CareerCloudContext(); // GET: SystemLanguageCode public ActionResult Index() { return(View(systemLanguageLogic.GetAll()));//db.SystemLanguageCodes.ToList()); }
public IEnumerable <CoursePoco> GetAll() { return(_eFGenericRepository.GetAll()); }
public ActionResult Index() { var companyJobs = _EF.GetAll();//db.CompanyJobs.Include(c => c.CompanyProfiles).Include(c =>c.CompanyJobDescriptions); return(View(companyJobs)); }
public List <SystemLanguageCodePoco> GetLanguage() { EFGenericRepository <SystemLanguageCodePoco> systemLanguageCodeLogic = new EFGenericRepository <SystemLanguageCodePoco>(); return(systemLanguageCodeLogic.GetAll().ToList()); }
public IEnumerable <StudentPoco> GetAll() { return(_eFGenericRepository.GetAll(s => s.Enrollments)); }
public IEnumerable <EnrollmentPoco> GetAll() { return(_eFGenericRepository.GetAll()); }
//private CareerCloudContext db = new CareerCloudContext(); // GET: SystemCountryCode public ActionResult Index() { return(View(systemCountryCodeLogic.GetAll()));//db.SystemCountryCodes.ToList()); }
public IEnumerable <PublicationHouseViewModel> GetPublicationHouses() { return(Mapper.Map <IEnumerable <PublicationHouse>, List <PublicationHouseViewModel> >(_publicationServiceRepository.GetAll())); }
public IEnumerable <BrochureViewModel> GetBrochures() { return(Mapper.Map <IEnumerable <Brochure>, List <BrochureViewModel> >(_brochureRepository.GetAll())); }