public AHCUploaderOperation() { IKernel kernel = new StandardKernel(new WFMNinjectModule()); _uploaderSvc = kernel.Get <UploadAHCService>(); _weeklyDatapointService = kernel.Get <StagingWeeklyDatapointService>(); _ahcService = kernel.Get <AssumptionHeadcountService>(); _erlangService = kernel.Get <ErlangCSercvice>(); }
//public AssumptionsHeadcountManagementController( IAssumptionHeadcountService ahcService, IDatapointService datapointService, // ISiteService siteService, ICampaignService campaignService, ILoBService lobService ) //{ // this._ahcService = ahcService; // this._datapointService = datapointService; // this._siteService = siteService; // this._campaignService = campaignService; // this._lobService = lobService; //} public AssumptionsHeadcountManagementController(IAssumptionHeadcountService ahcService, IDatapointService datapointService, ISiteService siteService, ICampaignService campaignService, ILoBService lobService, IWeeklyDatapointService weeklyDatapointService, ISiteCampaignService siteCampaignService, ISiteCampaignLoBService siteCampaignLobService, IAuditTrailService auditTrailService, IUploadAHCService uploadAHCService, IStagingWeeklyDatapointService stagingWeeklyDatapointService) { this._ahcService = ahcService; this._datapointService = datapointService; this._siteService = siteService; this._campaignService = campaignService; this._lobService = lobService; this._weeklyDatepointService = weeklyDatapointService; this._siteCampaignService = siteCampaignService; this._siteCampaignLobService = siteCampaignLobService; this._auditTrailService = auditTrailService; this._uploadService = uploadAHCService; this._stagingWeeklyDatapointService = stagingWeeklyDatapointService; }