Ejemplo n.º 1
0
 /// <summary>
 /// Removes the entry with the given name.
 /// </summary>
 protected void RemoveByName(string name)
 {
     DataStoreSource.DeleteOne(p => p.Name == name);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Returns the entry with the given name.
 /// </summary>
 protected async Task <TEntry> GetByName(string name)
 {
     return(await DataStoreSource.GetOne(e => e.Name == name));
 }