private async Task <bool> RemoveSubscriber(ChatId chatId) { var subscribedChats = _botContext.SubscribedChat.Where(s => s.ChatId == chatId.Identifier).ToList(); if (subscribedChats.Count == 0) { return(false); } _botContext.RemoveRange(subscribedChats); await _botContext.SaveChangesAsync(); return(true); }