//Goal public async Task <IActionResult> CreateGoal(Goal goal) { if (ModelState.IsValid) { memberService.CalculateLoan(goal); memberService.EstimatedGoalSavings(goal); _mr.CreateGoal(goal); return(await Task.FromResult(Ok(goal))); } return(await Task.FromResult(NotFound())); }