This commit is contained in:
@@ -32,7 +32,9 @@ namespace AyaNova.Biz
|
||||
internal static async Task<long> ActiveCountAsync()
|
||||
{
|
||||
var ct = ServiceProviderProvider.DBContext;
|
||||
var ret = await ct.User.Where(x => x.Active == true && (x.UserType == UserType.Schedulable || x.UserType == UserType.Subcontractor)).LongCountAsync();
|
||||
var ret = await ct.User.Where(x => x.Active == true && (
|
||||
x.UserType == UserType.Schedulable ||
|
||||
x.UserType == UserType.Subcontractor)).LongCountAsync();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user