Пример #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));
 }