Exemplo n.º 1
0
        public async Task <ActionResult> GetThongTinGoiPhi(string TenTrungTam, string TenChuongTrinh, int?ID_GOIPHI)
        {
            try
            {
                var model = await Task.Run(() => db.APAX_DANGKYHOC_DM_GOIPHI(TenTrungTam, TenChuongTrinh).Where(t => t.ID_GOIPHI == ID_GOIPHI).FirstOrDefault());

                return(Json(model, JsonRequestBehavior.AllowGet));
            }
            catch
            {
                return(null);
            }
        }