public virtual IActionResult GenerateCouponCode() { return(Json(new { CouponCode = _giftCardService.GenerateGiftCardCode() })); }
public ActionResult GenerateCouponCode() { return(Json(new { CouponCode = _giftCardService.GenerateGiftCardCode() }, JsonRequestBehavior.AllowGet)); }