public JsonResult AddChild(Child child) { string current_user = User.Identity.Name; child.ParentUser = current_user; child.UserImage = "/Content/usernotset.png"; var addedchild = BL.AddChild(child); return(Json(addedchild, JsonRequestBehavior.AllowGet)); }