public static PropertyAlertList ToDomain(this PropertyAlertsApiResponse apiResponse) { return(new PropertyAlertList { PropertyReference = apiResponse.PropertyReference, Alerts = apiResponse.Alerts.ToDomain() }); }
internal static void AddPropertyAlerts(int count, string propRef) { PropertyAlertsApiResponse mockAlerts = StubPropertyAlertApiResponse(count, propRef).Generate(); MockPropertyAlertsGoogleSheetApiResponses.Add(mockAlerts); }