public static bool CheckIfExistsNullable(this IAsyncContext context, IEntity entity) { if (context == null) { return(entity.Exists); } return(context.CheckIfExists(entity)); }
public static bool CheckIfExistsNullable(this IAsyncContext context, IBaseObject baseObject) { if (context == null) { return(baseObject.Exists); } return(context.CheckIfExists(baseObject)); }
public static bool CheckIfExistsNullable(this IAsyncContext context, IWorldObject worldObject) { if (context == null) { return(worldObject.Exists); } return(context.CheckIfExists(worldObject)); }