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