Beispiel #1
0
 public HomeController(IGetFaculty facultyRepository, IGetStaff staffRepository,
                       IGetMinor minorRepository, IGetGraduate gradRepo, IGetUnderGrad underGradRepo)
 {
     _facultyRepository = facultyRepository;
     _staffRepository   = staffRepository;
     _minorRepository   = minorRepository;
     _gradRepo          = gradRepo;
     _undergradRepo     = underGradRepo;
 }
 public HomeController(IGetFaculty facultyRepository, IGetUndergraduate undergradRepository,
                       IGetGraduate graduateRepository, IGetEmployment empRepository, IGetStaff staffRepository, IGetAbout aboutSvc)
 {
     _aboutSvc            = aboutSvc;
     _facultyRepository   = facultyRepository;
     _undergradRepository = undergradRepository;
     _gradRepository      = graduateRepository;
     _empRepository       = empRepository;
     _staffRepository     = staffRepository;
 }
 public StaffController(IGetStaff staffRepository)
 {
     _staffRepository = staffRepository;
 }