public JsonResult AddGoal(Goal goal) { string current_user = User.Identity.Name; goal.ParentUser = current_user; BL.AddGoal(goal); return(Json(goal, JsonRequestBehavior.AllowGet)); }