Example #1
0
        public JsonResult GetById(int id)
        {
            var model = _loaiPhongRepository.GetSingleById(id);

            return(Json(new
            {
                status = true,
                data = model
            }, JsonRequestBehavior.AllowGet));
        }