...
This commit is contained in:
@@ -456,5 +456,15 @@ namespace Back.Controllers
|
||||
return BadRequest(new List<string> { "خطای ناشناخته" });
|
||||
}
|
||||
}
|
||||
[HttpGet("GetBillTypes")]
|
||||
public async Task<ActionResult<List<IdName<int>>>> GetBillTypes()
|
||||
{
|
||||
return Ok(await _servTaxPayer.GetBillTypes());
|
||||
}
|
||||
[HttpGet("GetPatterns")]
|
||||
public async Task<ActionResult<List<IdName<int>>>> GetPatterns()
|
||||
{
|
||||
return Ok(await _servTaxPayer.GetPatterns(true));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user