public JsonResult AddBehaviour(Behaviour behaviour) { string current_user = User.Identity.Name;; behaviour.ParentUser = current_user; BL.AddBehaviour(behaviour); return(Json(behaviour, JsonRequestBehavior.AllowGet)); }