常用方法
常用方法
常用方法
常用方法
public ActionResult UploadAvatar(HttpPostedFileBase UploadAvatar) { try { int userID = UserLoginData.GetSessionID(Session["UserLoggedIn"]); userBLL.ChangeAvatar(UploadAvatar, userID); return(RedirectToAction("ProfileManagement")); } catch (Exception ex) { return(this.ManageException(ex, "ProfileManagement")); } }