public DefaultResultServices() { Services = new DefaultServices() .Add <IPresidentialResultService, PresidentialResultService>() .Add <IGubernatorialResultService, GubernatorialResultService>() .Add <ISenatorialResultService, SenatorialResultService>() .Add <IMpResultService, MpResultService>() .Add <IMcaResultService, McaResultService>() .Add <IWomenRepResultService, WomenRepResultService>() .Add <IReferendumResultService, ReferendumResultService>() ; }
public DefaultWorkflowServices() { Services = new DefaultServices() .Add <IPresidentialResultWorkflow, PresidentialResultWorkflow>() .Add <IGubernatorialResultWorkflow, GubernatorialResultWorkflow>() .Add <ISenatorialResultWorkflow, SenatorialResultWorkflow>() .Add <IMpResultWorkflow, MpResultWorkflow>() .Add <IMcaResultWorkflow, McaResultWorkflow>() .Add <IWomenRepResultWorkflow, WomenRepResultWorkflow>() .Add <IReferendumResultWorkflow, ReferendumResultWorkflow>() ; }
public DefaultImportServices() { Services = new DefaultServices() .Add <IRegionImportService, RegionImportService>() .Add <IImportService <CountyImportModel>, CountyImportService>(); }