public StaffController(IStaffBusiness staffBusiness, IDepartmentBusiness departmentBusiness, IPositionBusiness positionBusiness, IAssignPositionBusiness assignPosition) { this._staffBusiness = staffBusiness; this._departmentBusiness = departmentBusiness; this._positionBusiness = positionBusiness; this._assignPosition = assignPosition; }
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; }
/// <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; }