Пример #1
0
 public BaseVersionableController(IUnitOfWork UOW, IVersionableRepository <T> repo) : base(UOW)
 {
     _repo = repo;
 }
Пример #2
0
 public EmployeePortalController(IUnitOfWork uow, IVersionableRepository <EmployeePortalPage> repo) : base(uow, repo)
 {
     _settingsRepo = new VersionableRepository <EmployeePortalSettings>((DbContext)uow);
 }
Пример #3
0
 public TeamController(IUnitOfWork uow, IVersionableRepository <TeamMember> repo) : base(uow, repo)
 {
 }
Пример #4
0
 public HomeController(IPortalSettingsPageRepository repo, IVersionableRepository <EmployeePortalSettings> setrepo, IUnitOfWork uow)
 {
     _repo    = repo;
     _setRepo = setrepo;
 }
Пример #5
0
 public CareersController(IUnitOfWork uow, IVersionableRepository <Job> repo) : base(uow, repo)
 {
     _appRepo = new Repository <JobApplication>((DbContext)uow);
 }
Пример #6
0
 public AccountController(IVersionableRepository <EmployeePortalSettings> repo, IUnitOfWork uow)
 {
     _repo = repo;
 }