Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 /// <summary>
 /// Конструктор
 /// </summary>
 public AccessRolesService(IAccessRoleRepository accessRep)
 {
     this._accessRep = accessRep;
 }