public static List <ServiceViewModel> FilterByOnlineDOSServiceType(this List <ServiceViewModel> serviceViewModels, OnlineDOSServiceType onlineDosServiceType) { return(serviceViewModels.FindAll(s => s.OnlineDOSServiceType == onlineDosServiceType)); }
public GroupedDOSServices(OnlineDOSServiceType serviceType, List <ServiceViewModel> services) { OnlineDOSServiceType = serviceType; Services = services; }