/// <summary> /// Adds or replaces an entity in the given collection. /// </summary> public static void AddOrReplace(this ITransferCollection collection, Entities.Transfer entity) { if (!collection.Contains(entity)) { collection.Add(entity); } }
/// <summary> /// Adds a new transfer. /// </summary> /// <param name="transfer"></param> public void Add(Transfer transfer) { throw new NotImplementedException(); }