コード例 #1
0
        /// <summary>
        ///     view KhachHang details
        /// </summary>
        public ActionResult ChiTiet(int id)
        {
            title = "Chi tiết thông tin khách hàng";

            var model = khachHangRepository.GetKhachHangDetailsModel(id);

            if (model == null)
            {
                return(RedirectToAction("Index"));
            }

            return(View(model));
        }