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>()
     ;
 }
Ejemplo n.º 2
0
 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>()
     ;
 }
Ejemplo n.º 3
0
 public DefaultImportServices()
 {
     Services = new DefaultServices()
                .Add <IRegionImportService, RegionImportService>()
                .Add <IImportService <CountyImportModel>, CountyImportService>();
 }