public ReportersController(IReporterViewFactory factory, IDomainFacotry DomainFactory) { this.ReporterViewFactory = factory; this.DomainFactory = DomainFactory; }
//用于单元测试 public ReporterUnitOfWork(IReporterViewFactory factory) { this.ReporterViewFactory = factory; }