示例#1
0
 /// <summary>
 ///	Delete the <c>Notable</c> entity from the database via its id.
 /// /// </summary>
 /// <param name="notable"></param>
 /// <returns>If the entity was deleted.</returns>
 public bool DeleteNotable(Notable notable)
 {
     return(notableCollection.Delete(notable.Id));
 }
示例#2
0
 /// <summary>
 ///	Store the <c>Notable</c> entity in the database.
 /// /// </summary>
 /// <param name="notable"></param>
 /// <returns>The generated id of the stored entity.</returns>
 public int StoreNotable(Notable notable)
 {
     return(notableCollection.Insert(notable));
 }