public async Task DeleteTask(string id) { database.Delete(id); await Clients.All.SendAsync("TaskDeleted", id); }