示例#1
0
 public async Task <Guid> Create(TaxRequest model)
 {
     _taxPeriodService.ValidatePeriod(model.PeriodStartDate, model.PeriodEndDate);
     return(await _taxesRepository.Add(_mapper.Map <TaxEntity>(model)));
 }