示例#1
0
 public FilesController(
     IFileService fileService,
     IFileToBinary fileToBinary,
     ISheetAdmissionService SheetAdmissionService,
     IValidationErros ValidationErros,
     IExcelServices ExcelServices,
     ISheetAdmissionValidation SheetAdmissionValidation,
     IImportsRepository importsRepository)
 {
     _fileService              = fileService;
     _fileToBinary             = fileToBinary;
     _sheetAdmissionService    = SheetAdmissionService;
     _validationErros          = ValidationErros;
     _excelServices            = ExcelServices;
     _sheetAdmissionValidation = SheetAdmissionValidation;
     _importsRepository        = importsRepository;
 }
示例#2
0
 public InsertController(
     ApplicationContext context,
     IFileService fileService,
     IFileToBinary fileToBinary,
     ISheetAdmissionService SheetAdmissionService,
     IValidationErros ValidationErros,
     IExcelServices ExcelServices,
     ISheetAdmissionValidation SheetAdmissionValidation
     )
 {
     _fileService              = fileService;
     _fileToBinary             = fileToBinary;
     _sheetAdmissionService    = SheetAdmissionService;
     _validationErros          = ValidationErros;
     _excelServices            = ExcelServices;
     _sheetAdmissionValidation = SheetAdmissionValidation;
     _context = context;
 }