case 4377
This commit is contained in:
@@ -202,6 +202,14 @@ namespace AyaNova.Biz
|
||||
return await ct.Customer.AsNoTracking().OrderBy(x => x.Name).Select(x => new NameIdActiveItem { Name = x.Name, Id = x.Id, Active = x.Active }).ToListAsync();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//GET LIST OF CONTACTS FOR THIS CUSTOMER FOR SELECTION ON WORKORDERS
|
||||
//
|
||||
internal async Task<List<string>> GetContactNameListAsync(long customerId)
|
||||
{
|
||||
return await ct.User.AsNoTracking().Where(z => z.Active && z.UserType == UserType.Customer && z.CustomerId == customerId).OrderBy(x => x.Name).Select(x=> x.Name).ToListAsync();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//SEARCH
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user