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