This commit is contained in:
mmrbnjd
2024-08-08 18:20:21 +03:30
parent cd95332a3d
commit 70df7d48b4
5 changed files with 119 additions and 19 deletions

View File

@@ -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));
}
}
}