public async Task <IActionResult> CreateTaxType([FromBody] CreateTaxTypeRequest request)
        {
            await _taxTypeService.CreateTaxTypeAsync(request);

            return(NoContent()); //
        }
Exemplo n.º 2
0
 public async Task CreateTaxTypeAsync(CreateTaxTypeRequest request)
 {
     var taxType = _mapper.Map <TaxType>(request);
     await _taxTypeRepository.CreateTaxTypeAsync(taxType);
 }