This commit is contained in:
mmrbnjd
2024-08-11 18:59:36 +03:30
parent 42ce2a29e7
commit d5bcde27d2
7 changed files with 57 additions and 12 deletions

View File

@@ -60,6 +60,11 @@ namespace Back.Services
{
return await _repoBillType.GetAll().Select(s => new IdName<int> { ID = s.inty, Title = s.Title }).ToListAsync();
}
public async Task<List<IdName<int>>> GetUnits()
{
return await _repoBillType.GetAll().Select(s => new IdName<int> { ID = s.inty, Title = s.Title }).ToListAsync();
}
public async Task<bool> UpdateInvoice(Invoice invoice)
{