public JsonResult AddClassTypes(DiscountChargesDto DiscountCharges)
 {
     ClassTypes classTypes = new ClassTypes(DiscountCharges.ClsId);
     classTypes.LongName = DiscountCharges.LongName;
     classTypes.ShortName = DiscountCharges.ShortName;
     classTypes.ChargeType = DiscountCharges.ChargeTypeId;
     classTypes.EntryTypeID = DiscountCharges.EntryTypeId;
     classTypes.ShowID = DiscountCharges.ShowId;
     return Json(new
     {
         Status = 0,
         ClsId = classTypes.Save()
     });
 }
 public JsonResult Discounts(DiscountChargesDto DiscountCharges)
 {
     ShowCharges sc = new ShowCharges(DiscountCharges.ClsId);
     sc.Showid = DiscountCharges.ShowId;
     sc.Name = DiscountCharges.Name;
     sc.ChargeRate = DiscountCharges.ChargeTypeId;
     return Json(new
     {
         Status = 0,
         ClsId = sc.save()
     });
 }
 public JsonResult AddShowDiscounts(DiscountChargesDto DiscountCharges)
 {
     ShowDiscounts sc = new ShowDiscounts(DiscountCharges.ClsId);
     sc.DiscountType = DiscountCharges.DiscountId;
     sc.Subtype = DiscountCharges.SubTypes;
     sc.ChargeType = DiscountCharges.ChargeTypeId;
     sc.Amount = DiscountCharges.Amount;
     sc.Showid = DiscountCharges.ShowId;
     return Json(new
     {
         Status = 0,
         ClsId = sc.Save()
     });
 }