This commit is contained in:
mmrbnjd
2025-07-06 01:49:34 +03:30
parent e15790488e
commit 8b89957a93
10 changed files with 143 additions and 14 deletions

View File

@@ -110,11 +110,11 @@ namespace Hushian.Application.Services
}
return false;
}
public async Task<bool> CHeckGroupMemberCompany(int GroupID, int CompanyID)
{
return await _GroupRepository.Get().AnyAsync(a => a.CompanyID == CompanyID && a.ID == GroupID);
}
public async Task<bool> AnyGroup(int GroupID) =>
await _GroupRepository.Get().AnyAsync(a=>a.ID==GroupID);
public async Task<bool> CHeckGroupMemberCompany(int GroupID, int CompanyID)=>
await _GroupRepository.Get().AnyAsync(a => a.CompanyID == CompanyID && a.ID == GroupID);
}
}