Ejemplo n.º 1
0
 public FundDBRepository(PortfolioContext context, IHostingEnvironment environment) : base(context)
 {
     this._context         = context;
     _hostingEnvironment   = environment;
     _contentDirectoryPath = Path.Combine(_hostingEnvironment.ContentRootPath, "App_Data");
     _fundTargetFilePath   = Path.Combine(_hostingEnvironment.ContentRootPath, "App_Data", "FundListResult.txt");
     _fundSourceFilePath   = Path.Combine(_hostingEnvironment.ContentRootPath, "App_Data", "FundListSource.txt");
 }
 public ManagementRepository(PortfolioContext context)
 {
     this.context = context;
 }
 public FundRepository(PortfolioContext context)
 {
     this.context = context;
 }