public static bool IsObjectEmpty(this IEntityGid entity)
 {
     return(entity.Id.Equals(Guid.Empty));
 }
 public static bool IsObjectNull(this IEntityGid entity)
 {
     return(entity == null);
 }