public JsonResult OnCreate(string pTieuDe, int?pUuTien, int?pGroupId, string pNick, string pMobile, string pEmail) { var mSupport = new Support() { Date = DateTime.Now, Name = pTieuDe, TypeID = pGroupId, Phone = pMobile, Nick = pNick, Email = pEmail }; MpStartEntities.AddToSupport(mSupport); MpStartEntities.SaveChanges(); return(Json(new { code = 1, message = "Lưu loại hỗ trợ thành công." })); }