This commit is contained in:
mmrbnjd
2024-06-18 16:15:17 +03:30
parent 692aa30afe
commit e8c0bed48f
6 changed files with 34 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
using Back.Data.Contracts;
using Back.Data.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Hosting;
using Shared.DTOs;
namespace Back.Services
{
@@ -38,5 +40,6 @@ namespace Back.Services
{
return await _invoiceitemRepo.Get(w => w.InvoiceID == invoiceID && w.ID == invoiceitemID && w.invoice.CompanyID == companyID).FirstOrDefaultAsync();
}
}
}