public void AddApplicationVersion(IApplicationVersion applicationVersion) { Database.GetCollection("ApplicationVersion").Insert(applicationVersion.ToPersist()); }
public void UpdateApplicationVersion(IApplicationVersion applicationVersion) { Database.GetCollection("ApplicationVersion").Save(applicationVersion.ToPersist(), WriteConcern.Acknowledged); }