public async Task <bool> DeleteAsync(ActionEvent akce) { bool isDeleted = await akce.DeleteAsync(); if (isDeleted) { ActionEventsDict[akce.DateFrom.Year].Remove(akce); UpcomingActionEvents.Remove(akce); } return(isDeleted); }