示例#1
0
 public UnitOfWork(RecipeDBContext recipeDBContext)
 {
     this.recipeDBContext = recipeDBContext ?? throw new ArgumentNullException(nameof(recipeDBContext));
 }
示例#2
0
 public RecipeRepository(RecipeDBContext recipeDBContext)
 {
     this.recipeDBContext = recipeDBContext ?? throw new ArgumentNullException(nameof(recipeDBContext));
 }