public TimeReportController(ITimeReportServiceFactory timeReportServiceFactory) { timeReportService = null; timeReportServiceInsatller = () => timeReportServiceFactory.CreateTimeReportService(HttpContext.User.Identity.Name); }
public TimeReportServiceFactory(ITimeReportService reportService) { this.reportService = (TimeReportService)reportService; }