示例#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;
 }
示例#2
0
 public ReportController(IRepository repository, OTRSService otrsService)
 {
     repo             = repository;
     this.otrsService = otrsService;
 }