public ConfigurationController(IBusinessUnits BParam, IDepartments DParam, IidentityCodes idCodes, IJobtitles jParam, IPositions pParam, IPrefixes prparam, IEmploymentStatus status, ILeaveManagement lParam) { this.BusinessRepo = BParam; this.DeptRepo = DParam; this.IdentityRepo = idCodes; this.JobRepo = jParam; this.positionRepo = pParam; this.prefixRepo = prparam; this.statusRepo = status; this.leaveRepo = lParam; }
public SelfServiceController(EmployeeManager Emparam, ILeaveManagement lParam) { empManager = Emparam; leaveRepo = lParam; leavemanagerRepo = new LeaveManager(leaveRepo, empManager); }
public LeaveController(ILeaveManagement lParam, IBusinessUnits bparam) { leaveRepo = lParam; BunitsRepo = bparam; leavemanagerRepo = new LeaveManager(leaveRepo, new EmployeeManager()); }
public LeaveManager(ILeaveManagement lParam, EmployeeManager ELParam) { LeaveRepo = lParam; unitofWork = new UnitOfWork(); EmpLogic = ELParam; }