public OrderController(ICourseRepository CourseRepository, ICookieManager CookieManager, IHostingEnvironment HostingEnvironment, IOrderRepository OrderRepository, IDisCountRepository DisCountRepository, ICourseEpisodRepository CourseEpisodRepository, IPayment Payment, IMapper Mapper, CustomUserManager CustomUserManager, IOptionsSnapshot <SiteSetting> SiteSetting, CartChecker Cart)
 {
     courseRepository       = CourseRepository;
     cookieManager          = CookieManager;
     orderRepository        = OrderRepository;
     disCountRepository     = DisCountRepository;
     courseEpisodRepository = CourseEpisodRepository;
     hostingEnvironment     = HostingEnvironment;
     payment           = Payment;
     mapper            = Mapper;
     customUserManager = CustomUserManager;
     siteSetting       = SiteSetting.Value;
     cart = Cart;
 }
 public CreateModel(IDisCountRepository DisCountRepository)
 {
     this.disCountRepository = DisCountRepository;
 }
 public EditModel(IDisCountRepository DisCountRepository)
 {
     disCountRepository = DisCountRepository;
 }
 public IndexModel(IDisCountRepository DisCountRepository)
 {
     disCountRepository = DisCountRepository;
 }
Exemplo n.º 5
0
 public DetailModel(IDisCountRepository DisCountRepository)
 {
     disCountRepository = DisCountRepository;
 }