Exemple #1
0
 public StaffController(IStaffBusiness staffBusiness, IDepartmentBusiness departmentBusiness, IPositionBusiness positionBusiness, IAssignPositionBusiness assignPosition)
 {
     this._staffBusiness      = staffBusiness;
     this._departmentBusiness = departmentBusiness;
     this._positionBusiness   = positionBusiness;
     this._assignPosition     = assignPosition;
 }
Exemple #2
0
 public EmployeeController(IEmployeeBusiness employeeBusiness, IDepartmentBusiness departmentBusiness,
                           IPositionBusiness positionBusiness, SecurityFilter.ToolBarAccess tool)// IUserBusiness userBusiness,
 {
     _employeeBusiness = employeeBusiness;
     //_userBusiness = userBusiness;
     _departmentBusiness = departmentBusiness;
     _positionBusiness   = positionBusiness;
     _tool = tool;
 }
 public PositionController(IPositionBusiness positionBusiness)
 {
     _positionBusiness = positionBusiness;
 }
Exemple #4
0
 /// <summary>Inicia uma nova instância da classe <see cref="CustodiaController" />.</summary>
 /// <param name="logger">Interface de logger</param>
 /// <param name="positionBusiness">Implementação da PositionBusiness</param>
 /// <param name="cache">Interface de Memory Cache</param>
 public CustodiaController(ILoggerFactory logger, IPositionBusiness positionBusiness, IMemoryCache cache)
 {
     Logger           = logger.CreateLogger <CustodiaController>();
     PositionBusiness = positionBusiness;
     _cache           = cache;
 }