Пример #1
0
 public void DeleteCoupons(object[] objCoupons)
 {
     CouponResource objresource = new CouponResource();
        using (TransactionScope trans = new TransactionScope())
        {
        objresource.DeleteCoupons(objCoupons);
        //Transaction Commited
        trans.Complete();
        }
 }
Пример #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="objParam"></param>
 public void CreateCouponDetails(object[] objParam)
 {
     CouponResource objResource = new CouponResource();
        using (TransactionScope trans = new TransactionScope())
        {
        objResource.CreateCouponDetails(objParam);
        //Transaction Commited
        trans.Complete();
        }
 }
Пример #3
0
 public List<GetCoupondetails> GetCoupondetails(int userID)
 {
     CouponResource objresource = new CouponResource();
        return objresource.GetCoupondetails(userID);
 }
Пример #4
0
 public List<CouponsAvailable> GetCouponbyId(int Couponid)
 {
     CouponResource objresource = new CouponResource();
        return objresource.GetCouponbyId(Couponid);
 }