public static bool IsObjectEmpty(this IEntityInt entity) { return(entity.Id.Equals(0)); }
public static bool IsObjectNull(this IEntityInt entity) { return(entity == null); }