示例#1
0
 public MealController(IMealAppService mealAppService) : base()
 {
     _mealAppService = mealAppService;
 }
 public MealAppService_Tests()
 {
     // creating the class which is tested (SUT - Software Under Test)
     _service = LocalIocManager.Resolve <IMealAppService>();
 }
示例#3
0
 public MealsController(IMealAppService mealService, IIngredientAppService ingredientService)
 {
     _mealService       = mealService;
     _ingredientService = ingredientService;
     //db = new DiaryDbContext();
 }