public RequestController( IEmployeeRepository employeeRepo, IResourceRepository resourceRepo, IRequestRepository repo, IAccessRoleRepository roleRepo, ILdapService ldapSrv, HistoryService historySrv, ApplicationDbContext ctx, OTRSService otrsServ, ILogger <RequestController> log, NotificationService notifService) { employeeesRepository = employeeRepo; resourcesRepository = resourceRepo; roleRepository = roleRepo; repository = repo; ldapService = ldapSrv; historyService = historySrv; context = ctx; logger = log; otrsService = otrsServ; this.notifService = notifService; }
/// <summary> /// Конструктор /// </summary> public AccessRolesService(IAccessRoleRepository accessRep) { this._accessRep = accessRep; }