示例#1
0
 public WordsController(IWordProvider wordProvider,
                        IWordCreator wordCreator,
                        IWordUpdater wordUpdater)
 {
     this.wordProvider = wordProvider;
     this.wordCreator  = wordCreator;
     this.wordUpdater  = wordUpdater;
 }
示例#2
0
 public HomeController()
 {
     excelCreator = new ClosedXmlExcelCreator();
     wordCreator  = new ClosedXmlWordCreator();
 }