public async Task <IActionResult> CreateTaxType([FromBody] CreateTaxTypeRequest request) { await _taxTypeService.CreateTaxTypeAsync(request); return(NoContent()); // }
public async Task CreateTaxTypeAsync(CreateTaxTypeRequest request) { var taxType = _mapper.Map <TaxType>(request); await _taxTypeRepository.CreateTaxTypeAsync(taxType); }