public CreateModel(IReservations reservations,
                    IWhiskeys whiskeys,
                    IHtmlHelper htmlHelper,
                    UserManager <ApplicationUser> userManager)
 {
     _userManager    = userManager;
     _reservationsDb = reservations;
     _whiskeys       = whiskeys;
 }
예제 #2
0
 public DeleteModel(IWhiskeys whiskey)
 {
     _whiskeyDb = whiskey;
 }
예제 #3
0
 public DetailsModel(IWhiskeys whiskeys)
 {
     _whiskeys = whiskeys;
 }
 public EditModel(
     IWhiskeys whiskeysDb,
     IHtmlHelper htmlHelper)
 {
     _whiskeysDb = whiskeysDb;
 }
 public EditModel(IReservations reservations,
                  IWhiskeys whiskeysDb)
 {
     _reservationsDb = reservations;
     _whiskeys       = whiskeysDb;
 }
예제 #6
0
 public CreateModel(IWhiskeys whiskeysDb, IWebHostEnvironment webHostEnvironment)
 {
     _whiskeysDb         = whiskeysDb;
     _webHostEnvironment = webHostEnvironment;
 }
 public ListModel(IWhiskeys whiskeys)
 {
     _whiskeyDb = whiskeys;
 }
 public BrowseProducts(IWhiskeys whiskeys)
 {
     _whiskeyDb = whiskeys;
 }