public IActionResult Detail(int?id) { if (id == null) { return(RedirectToAction("Index")); } return(View(_services.GetKhachHang(id.Value))); }
public IActionResult SuaKhachHang(int id) { ViewBag.SuaKhachHang = _khachHangServices.GetKhachHang(id); return(View()); }