public JsonResult Create(CreateCouponModel model) { var user = _userService.GetUserByEmail(User.Identity.Name); var response = _couponService.CreateCoupons(model, user.Id); return(new JsonResult { ContentType = "application/json", Data = response }); }