public JsonResult Login(String userName, String password) { ResponseJson resJson; resJson = um.Login(userName, password); Session["User"] = resJson.addition; resJson.addition = null; return(Json(resJson, JsonRequestBehavior.DenyGet)); }