public IHttpActionResult AddNewCoupons([FromBody] IEnumerable <Coupon> coupons) { try { couponService.AddCoupons(coupons); } catch (Exception e) { return(InternalServerError(e.InnerException)); } return(Ok()); }