コード例 #1
0
 public static IWindsorContainer AlmacenAplicacion(this IWindsorContainer container)
 {
     return(container
            .CoreAplicacion()
            .RegisterDependency <IMapper <IngresoAlmacen, Ingreso>, IngresoMapeo>()
            .RegisterDependency <IMapper <SalidaAlmacen, Salida>, SalidaMapeo>()
            .RegisterDependency <IMapper <Stock, Inventario>, StockMapeo>()
            .RegisterAppService <IAlmacenService, AlmacenService>()
            .RegisterAppService <ICrudService <ArticuloDto>, CrudService <ArticuloDto, Articulo> >()
            .RegisterAppService <IKardexService, KardexService>());
 }