solved the mearge error
This commit is contained in:
parent
36163e97cc
commit
62956d6b12
@ -740,7 +740,7 @@ namespace Marco.Pms.Services.Helpers
|
||||
{
|
||||
Guid tenantId = _userHelper.GetTenantId();
|
||||
var LoggedInEmployee = await _userHelper.GetCurrentEmployeeAsync();
|
||||
var hasAdminPermission = await _permissionServices.HasPermission(directoryAdmin, LoggedInEmployee.Id);
|
||||
var hasAdminPermission = await _permissionServices.HasPermission(PermissionsMaster.DirectoryAdmin, LoggedInEmployee.Id);
|
||||
if (id != Guid.Empty)
|
||||
{
|
||||
Contact? contact = await _context.Contacts.Include(c => c.ContactCategory).Include(c => c.CreatedBy).FirstOrDefaultAsync(c => c.Id == id && c.IsActive);
|
||||
|
Loading…
x
Reference in New Issue
Block a user