Example #1
0
 public BuyModel(UserManager <App_User> userManager, Calc calc, IVisitRepository visitRepository, IShopItemData shopItemData)
 {
     this.userManager     = userManager;
     this.calc            = calc;
     this.visitRepository = visitRepository;
     this.shopItemData    = shopItemData;
 }
Example #2
0
 public IndexModel(IShopItemData shopItem)
 {
     this.shopItemdata = shopItem;
 }
Example #3
0
 public DetailsModel(IShopItemData shopItemData)
 {
     this.shopItemData = shopItemData;
 }
Example #4
0
 public ShopListModel(IShopItemData shopItemData, IVisitRepository visitRepository, UserManager <App_User> userManager)
 {
     this.visitRepository = visitRepository;
     this.shopItemData    = shopItemData;
     this.userManager     = userManager;
 }
Example #5
0
 public EditModel(IShopItemData shopdata, IHtmlHelper htmlHelper, IWebHostEnvironment webHostEnvironment)
 {
     this.shopdata           = shopdata;
     this.htmlHelper         = htmlHelper;
     this.webHostEnvironment = webHostEnvironment;
 }
Example #6
0
 public DeleteModel(IShopItemData shopItemData)
 {
     this.shopItemData = shopItemData;
 }
 public ShopItemsCountViewComponents(IShopItemData shopItemData)
 {
     this.shopItemData = shopItemData;
 }