Пример #1
0
 public EmployeeGateway(IUserProfileGateway profileGateway, IPositionGateway positionGateway)
 {
     _profileGateway  = profileGateway;
     _positionGateway = positionGateway;
     foreach (Employee employee in _entities)
     {
         FillEmployee(employee);
     }
 }
 public UpdateEmployeeUseCase(IUserProfileGateway profileGateway, IEmployeeGateway employeeGateway)
 {
     _profileGateway  = profileGateway;
     _employeeGateway = employeeGateway;
 }
Пример #3
0
 public AddEmployeeUseCase(IEmployeeGateway employeeGateway, IUserGateway userGateway, IUserProfileGateway profileGateway)
 {
     _employeeGateway = employeeGateway;
     _userGateway     = userGateway;
     _profileGateway  = profileGateway;
 }