public async Task <bool> Remove(NixUser user) { if (!await storage.ExistsAsync <NixUser>(CreateProperties(user))) { return(false); } await storage.DeleteAsync <NixUser>(CreateProperties(user)); return(true); }
public async Task <bool> Remove(NixChannel channel) { if (!await storage.ExistsAsync <NixChannel>(CreateProperties(channel))) { return(false); } await storage.DeleteAsync <NixChannel>(CreateProperties(channel)); return(true); }
public async Task <bool> Remove(NixGuild guild) { if (!await storage.ExistsAsync <NixGuild>(CreateProperties(guild))) { return(false); } await storage.DeleteAsync <NixGuild>(CreateProperties(guild)); return(true); }