Ejemplo n.º 1
0
        public override void Setup()
        {
            base.Setup();
            CategoryService     categoryService     = new CategoryService();
            PartyService        partyService        = new PartyService();
            TicketService       ticketService       = new TicketService();
            CategoryTypeService categoryTypeService = new CategoryTypeService();

            electionService = new ElectionService(categoryService, categoryTypeService, partyService, ticketService);
        }
 public CategoryTypesController(CategoryTypeService categoryTypeService, IMapper mapper)
 {
     this.categoryTypeService = categoryTypeService;
     this.mapper = mapper;
 }