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