public BuyModel(UserManager <App_User> userManager, Calc calc, IVisitRepository visitRepository, IShopItemData shopItemData) { this.userManager = userManager; this.calc = calc; this.visitRepository = visitRepository; this.shopItemData = shopItemData; }
public IndexModel(IShopItemData shopItem) { this.shopItemdata = shopItem; }
public DetailsModel(IShopItemData shopItemData) { this.shopItemData = shopItemData; }
public ShopListModel(IShopItemData shopItemData, IVisitRepository visitRepository, UserManager <App_User> userManager) { this.visitRepository = visitRepository; this.shopItemData = shopItemData; this.userManager = userManager; }
public EditModel(IShopItemData shopdata, IHtmlHelper htmlHelper, IWebHostEnvironment webHostEnvironment) { this.shopdata = shopdata; this.htmlHelper = htmlHelper; this.webHostEnvironment = webHostEnvironment; }
public DeleteModel(IShopItemData shopItemData) { this.shopItemData = shopItemData; }
public ShopItemsCountViewComponents(IShopItemData shopItemData) { this.shopItemData = shopItemData; }