public PythonServerService(
     IUnitOfWork uow,
     IMapper mapper,
     ILoggerFactory loggerFactory,
     IFileWorkService fileWorkService)
 {
     _uow             = uow;
     _mapper          = mapper;
     _fileWorkService = fileWorkService;
 }
示例#2
0
 public PicturesService(IUnitOfWork uow,
                        DbProviderFactory factory,
                        IConfiguration configuration,
                        UserManager <User> userManager,
                        IMapper mapper,
                        IFileWorkService file)
 {
     this.uow          = uow;
     _factory          = factory;
     _connectionString = configuration.GetConnectionString("DefaultConnection");
     _userManager      = userManager;
     _mapper           = mapper;
     _file             = file;
 }
示例#3
0
 public LoadController([FromForm] IFileWorkService file)
 {
     _file = file;
 }