public ViewModel(IConfiguration config, ICoffeeData CoffeeData, UserManager <IdentityUser> userManager, IIdentityData identityData, ISiteData siteData, IFilmData filmData) { _config = config; _CoffeeData = CoffeeData; _userManager = userManager; _identityData = identityData; _siteData = siteData; _filmData = filmData; }
public IndexModel(ILogger <IndexModel> logger, IConfiguration config, ICoffeeData coffeeData, UserManager <IdentityUser> userManager, IIdentityData identityData, ISiteData siteData, IFilmData filmData) { _logger = logger; _config = config; _coffeeData = coffeeData; _userManager = userManager; _identityData = identityData; _siteData = siteData; _filmData = filmData; }
public CoffeeListModel(ICoffeeData coffee) { coffeeData = coffee; }
private readonly IHtmlHelper htmlHelper; //this is for asp-item public EditModel(ICoffeeData coffeeData, IHtmlHelper htmlHelper) { this.coffeeData = coffeeData; this.htmlHelper = htmlHelper; }
public CoffeeCountViewComponent(ICoffeeData coffeeData) { this.coffeeData = coffeeData; }
public DetailModel(ICoffeeData coffeedata) { this.coffeedata = coffeedata; }
public DeleteModel(ICoffeeData coffeeData) { this.coffeeData = coffeeData; }