Пример #1
0
 public AccountController(ApplicationUserManager applicationUserManager, ApplicationSignInManager applicationSignInManager, IAuthenticationManager authenticationManager)
 {
     _userManager               = applicationUserManager;
     _signInManager             = applicationSignInManager;
     _authenticationManager     = authenticationManager;
     _accountRepository         = new AccountRepository();
     _staffMemberepository      = new StaffMemberRepository();
     _contractManagerRepository = new ContractManagerRepository();
     _clientRepository          = new ClientRepository();
 }
Пример #2
0
 public StaffingRequestController()
 {
     _staffingRequestRepository = new StaffingRequestRepository();
     _contractManagerRepository = new ContractManagerRepository();
     _staffMemberRepository     = new StaffMemberRepository();
 }
Пример #3
0
 public StaffMemberController()
 {
     _staffMemberRepository = new StaffMemberRepository();
 }