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