示例#1
0
 public HomeController(INopCardRepository nopCardRepository,
                       ICardRepository cardRepository,
                       IMenhGiaRepository menhgiaRepository,
                       UserManager <ApplicationUser> userManager)
 {
     _userManager       = userManager;
     _nopCardRepository = nopCardRepository;
     _cardRepository    = cardRepository;
     _menhgiaRepository = menhgiaRepository;
 }
 public NotificationViewComponent(UserManager <ApplicationUser> userManager,
                                  ICardRepository cardRepository,
                                  IMenhGiaRepository menhgiaRepository,
                                  INopCardRepository nopCardRepository)
 {
     _noptheRepository  = nopCardRepository;
     _userManager       = userManager;
     _cardRepository    = cardRepository;
     _menhgiaRepository = menhgiaRepository;
 }
 public HomeStatisticViewComponent(
     UserManager <ApplicationUser> userManager,
     IFeedbackRepository feedbackRepository,
     INopCardRepository noptheRepository,
     IGiaoDichRepository giaodichRepository)
 {
     _noptheRepository   = noptheRepository;
     _giaodichRepository = giaodichRepository;
     _userManager        = userManager;
     _feedbackRepository = feedbackRepository;
 }
示例#4
0
 public GiaoDichController(INopCardRepository NopCardRepository,
                           UserManager <ApplicationUser> userManager,
                           IMenhGiaRepository menhGiaRepository,
                           ICardRepository cardRepository,
                           IGiaoDichRepository giaodichRepository)
 {
     _NopCardRepository  = NopCardRepository;
     _userManager        = userManager;
     _menhGiaRepository  = menhGiaRepository;
     _cardRepository     = cardRepository;
     _giaodichRepository = giaodichRepository;
 }
示例#5
0
 public CardController(ICardRepository cardRepository,
                       IMenhGiaRepository menhgiaReposiroty,
                       INopCardRepository NopCardRepository,
                       UserManager <ApplicationUser> userManager,
                       IRecaptchaService recaptcha)
 {
     this._cardRepository    = cardRepository;
     this._menhgiaRepository = menhgiaReposiroty;
     this._NopCardRepository = NopCardRepository;
     this._recaptcha         = recaptcha;
     _userManager            = userManager;
 }
 public UserAccountController(UserManager <ApplicationUser> userManager,
                              RoleManager <IdentityRole> roleManager,
                              SignInManager <ApplicationUser> signInManager,
                              INopCardRepository NopCardRepository,
                              IGiaoDichRepository giaoDichRepository,
                              ITKNHRepository tknhRepository,
                              ICardRepository cardRepository,
                              IMenhGiaRepository menhgiaRepository)
 {
     _signInManager      = signInManager;
     _userManager        = userManager;
     _roleManager        = roleManager;
     _NopCardRepository  = NopCardRepository;
     _giaoDichRepository = giaoDichRepository;
     _tknhRepository     = tknhRepository;
     _menhgiaRepository  = menhgiaRepository;
     _cardRepository     = cardRepository;
 }
 public ChartCardViewComponent(INopCardRepository nopCardRepository,
                               ICardRepository cardRepository)
 {
     _nopCardRepository = nopCardRepository;
     _cardRepository    = cardRepository;
 }