示例#1
0
 /// <summary>
 /// Конструктор контроллера
 /// </summary>
 public MainPageController(
     WebPageDisplayingService displayingService,
     MainWebPageManagementService managementService,
     FileDisplayingService fileDisplayingService,
     ILogger logger)
 {
     _displayingService = displayingService;
     _managementService = managementService;
     _fileDisplayingService = fileDisplayingService;
     _logger = logger;
 }
示例#2
0
 /// <summary>
 /// Конструктор контроллера
 /// </summary>
 public FileController(
     FileDisplayingService displayingService,
     FileManagementService managementService,
     IPostedFileValidator postedFileValidator,
     ILogger logger)
 {
     _displayingService = displayingService;
     _managementService = managementService;
     _postedFileValidator = postedFileValidator;
     _logger = logger;
 }