예제 #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;
 }