public InvBalanceRepo( ApplicationDbContext db, IUserPortfolioSharesRepo userPortfolioSharesRepo, IGzTransactionRepo gzTransactionRepo, IUserPortfolioRepo custPortfolioRepo, IConfRepo confRepo, IUserRepo userRepo) { this.db = db; this.userPortfolioSharesRepo = userPortfolioSharesRepo; this.gzTransactionRepo = gzTransactionRepo; this.confRepo = confRepo; this.userRepo = userRepo; }
public InvestmentsApiController( ApplicationDbContext inDbContext, IInvBalanceRepo inInvBalanceRepo, IGzTransactionRepo inGzTransactionRepo, IUserPortfolioRepo inUserPortfolioRepo, IUserRepo inUserRepo, IMapper inMapper, ApplicationUserManager inUserManager) : base(inUserManager) { this.dbContext = inDbContext; this.invBalanceRepo = inInvBalanceRepo; this.gzTransactionRepo = inGzTransactionRepo; this.userPortfolioRepo = inUserPortfolioRepo; this.userRepo = inUserRepo; this.mapper = inMapper; }