public static object HandlePersonAlerts(string tag_ref) { return(new ListPersonAlertsApiResponse { Contacts = MockPersonAlertsApiResponses.Where(res => res.TenancyAgreementReference == tag_ref).ToList() }); }
internal static void AddPersonAlerts(int count, string tenantReferance) { PersonAlertsApiResponse mockAlerts = StubPersonAlertApiResponse(count, tenantReferance).Generate(); MockPersonAlertsApiResponses.Add(mockAlerts); }