public object EditTaxRate(int id, TaxRateInputDto taxRate) { return(!ModelState.IsValid || taxRate == null ? BadRequest(ModelState) : controller.EditTaxRate(id, taxRate)); }
public object EditTaxRate(int id, TaxRateInputDto taxRate) { return(!ModelState.IsValid || taxRate == null ? BadRequest(ModelState) : controller.EditTaxRate(id, taxRate)); }