public async Task <ActionResult> UpdatePassword(String matkhaumoi, string matkhaucu) { NhanVien editEmployee = (NhanVien)await _nhanVienBus.Find(((NhanVienViewModel)(Session["Account"])).maNhanVien); try { await _nhanVienBus.UpdatePassword(editEmployee, Md5Encode.EncodePassword(matkhaumoi)); SetAlert("Bạn đã cập nhật mật khẩu thành công!!!", "success"); } catch { SetAlert("Đã xảy ra lỗi! Bạn hãy cập nhật lại", "error"); return(RedirectToAction("UpdatePassword")); } return(RedirectToAction("Index")); }