public ActionResult AdminDelUser(string user) { try { MyService.DeleteUser(MyService.GetUserInfo(user).UserId); } catch (Exception) { return(Content(res.DeleteFailed, "text/html;charset=UTF-8")); } return(Content(res.DeletedSuccessfully, "text/html;charset=UTF-8")); }