public bool Add(Subscriber aggregate) { using (var db = new DomainModelFacade()) { db.Subscribers.Add(aggregate); return db.SaveChanges() > 0; } }
public bool Add(Subscriber aggregate) { using (var db = new CommandModelDatabase()) { db.Subscribers.Add(aggregate); return db.SaveChanges() > 0; } }
public bool Delete(Subscriber aggregate) { throw new System.NotImplementedException(); }