public void InsertMotnhlyWorkout() { //Arrange var saveInstance = new MonthlyWorkout() { Name = "TestMonthly", WeekFour = _testWeeklyWorkout, WeekOne = _testWeeklyWorkout, WeekThree = _testWeeklyWorkout, WeekTwo = _testWeeklyWorkout }; //Act _testWorkout = _monthWorkoutService.InsertMonthlyWorkout(saveInstance, _testUser); //Asser Assert.IsFalse(_monthWorkoutService.GetMonthlyWorkouts(_testUser).Count() != 1); }
public IActionResult Get() { return(Ok(_monthlyWorkoutService.GetMonthlyWorkouts(_user))); }