private async Task UpdateGoal(DateTime dateValue) { var updateGoal = new UpdateGoal() { CustomerId = ViewModel.CustomerId, InteractionId = ViewModel.InteractionId, ActionPlanId = ViewModel.ActionPlanId, GoalId = new Guid(ViewModel.Goal.GoalId), DateGoalShouldBeCompletedBy = dateValue, GoalStatus = ViewModel.Goal.GoalStatus }; await _dssWriter.UpdateGoal(updateGoal); }
public async Task When_UpdateGoal_ReturnActionPlan() { await _dssWriter.UpdateGoal(updateGoal); }