Пример #1
0
 public AuthController(IAuthRepository authRepo, IFileShareRepository fileRepo, IHostingEnvironment hostingEnvironment, IConfiguration config)
 {
     _config     = config;
     _authRepo   = authRepo;
     _fileRepo   = fileRepo;
     _hostingEnv = hostingEnvironment;
 }
Пример #2
0
 public FileShareController()
 {
     this.unitOfWork = new UnitOfWork();
     this.repository = RepositoryFactory.GetRepository<IFileShareRepository, PDCPMS.Model.DailyOffice.FileShare>(unitOfWork);
 }
Пример #3
0
 public FileShareController(IFileShareRepository repo, IMapper mapper, IHostingEnvironment HostingEnv)
 {
     _mapper     = mapper;
     _repo       = repo;
     _hostingEnv = HostingEnv;
 }