public Task <IActionResult> EditProfile(SysUser user)
        {
            return(Task.Factory.StartNew <IActionResult>(() =>
            {
                var success = false;
                var msg = "数据验证失败";

                if (ModelState.IsValid)
                {
                    var result = _userRepository.EditProfile(user.Id, user.Telephone, user.SysUserName, user.EMail);
                    success = result.Item1;
                    msg = result.Item2;
                }
                return Json(new { success, msg });
            }));
        }