This commit is contained in:
mmrbnjd
2024-05-25 17:52:40 +03:30
parent 0fc2efd5ca
commit e4cd267beb
9 changed files with 223 additions and 6 deletions

View File

@@ -80,7 +80,7 @@ namespace Back.Services
return await _CODRepo
.Get(w => w.ID == CodID && w.CompanyID == CompanyID && !w.IsDeleted).FirstOrDefaultAsync();
}
public async Task<bool> ExistCodByCustomerID(int CodID, int CompanyID)
public async Task<bool> ExistCodByCompanyID(int CodID, int CompanyID)
{
return await _CODRepo
.Get(w => w.ID == CodID && w.CompanyID == CompanyID && !w.IsDeleted).AnyAsync();