public async Task WhiteHouse_Service_Delete_President() { // Act await _whiteHouseService.DeletePresidentAsync("1"); // Assert Assert.False(LocalNotification.HasNotification()); }
public async Task DeletePresidentAsync(string id) { if (string.IsNullOrWhiteSpace(id)) { RaiseNotification(nameof(id)); } if (!Notification.HasNotification()) { await _whiteHouserService.DeletePresidentAsync(id); } }