コード例 #1
0
ファイル: Drinks.cshtml.cs プロジェクト: r-mcmanus/Recipe-Now
 public DrinksModel(Recipe_NowContext dbContext)
 {
     _dbContext = dbContext;
 }
コード例 #2
0
ファイル: Card.cshtml.cs プロジェクト: r-mcmanus/Recipe-Now
 //public Tuple<Recipe, List<string>> RecipeIngredients = new Tuple<Recipe, List<string>>(Recipes[0], Ingredients);
 public CardModel(Recipe_NowContext dbContext)
 {
     _dbContext = dbContext;
 }
コード例 #3
0
ファイル: Likes.cshtml.cs プロジェクト: r-mcmanus/Recipe-Now
 public LikesModel(Recipe_NowContext dbContext)
 {
     _dbContext = dbContext;
 }
コード例 #4
0
ファイル: Search.cshtml.cs プロジェクト: r-mcmanus/Recipe-Now
 public SearchModel(Recipe_NowContext dbContext)
 {
     _dbContext = dbContext;
 }