public virtual async Task <IActionResult> OnPostAsync()
        {
            var dto = ObjectMapper.Map <CreateEditCouponTemplateViewModel, CreateUpdateCouponTemplateDto>(ViewModel);
            await _service.CreateAsync(dto);

            return(NoContent());
        }
 public virtual Task <CouponTemplateDto> CreateAsync(CreateUpdateCouponTemplateDto input)
 {
     return(_service.CreateAsync(input));
 }