public DefaultAdminService(ILeilaoDAO LeilaoDAO) { _LeilaoDAO = LeilaoDAO; }
public DefaultProdutoService(ILeilaoDAO LeilaoDAO, ICategoriaDAO CategoriaDAO) { _LeilaoDAO = LeilaoDAO; _CategoriaDAO = CategoriaDAO; }
IAdminService _defaultService; //handler default // Classe altera algumas implementações especificas, chamando //serviço default em casos gerais public ArquivamentoAdminService(ILeilaoDAO LeilaoDAO) { _defaultService = new DefaultAdminService(LeilaoDAO);; }