Пример #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 public FilesController(IConfiguration config,
                        ICsvFileHandler csvFileHandler)
 {
     this._csvFileHandler = csvFileHandler;
 }
Пример #2
0
 public HomeController()
 {
     _csvFileHandler = new CsvFileHandler(new ParsingService(), new ValidationService(), new FileService());
     _logger         = LogManager.GetLogger("MvcApplication");
 }