...
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user