public ServiceIssueRepository( IRepository <ServiceIssue> repository, ReportContext context, IMapper mapper, ISubscriptionRepository subscriptionRepository, IAzureHealthService azureHealthService, ICacheProvider cacheProvider, IApiIdentity apiIdentity) : base(context, apiIdentity) { _repository = repository; _context = context; _mapper = mapper; _subscriptionRepository = subscriptionRepository; _azureHealthService = azureHealthService; _cacheProvider = cacheProvider; //_userId = ApiIdentity.GetUserName(); }
public ServiceOutageSummaryService( IServiceSlaService serviceSlaService, IServiceOutageRepository serviceOutageRepository, IRefundSupportTicketRepository refundSupportTicketRepository, ISupportedRegionsService supportedRegionsService, IServiceOutageSummaryRepository serviceOutageSummaryRepository, IAzureHealthService azureHealthService, IAzureHealthSPNService azureHealthSPNService, IApiIdentity apiIdentity ) { _serviceSlaService = serviceSlaService; _serviceOutageRepository = serviceOutageRepository; _refundSupportTicketRepository = refundSupportTicketRepository; _supportedRegionsService = supportedRegionsService; _serviceOutageSummaryRepository = serviceOutageSummaryRepository; _azureHealthService = azureHealthService; _azureHealthSPNService = azureHealthSPNService; }