@ -17,6 +17,7 @@ namespace Volo.Abp
//TODO: Move to a dedicated class
services.OnExposing(context =>
{
//Register types for IObjectMapper<TSource, TDestination> if implements
context.ExposedTypes.AddRange(
ReflectionHelper.GetImplementedGenericTypes(
context.ImplementationType,
@ -9,6 +9,7 @@ namespace Volo.Abp.Uow
if (UnitOfWorkHelper.IsUnitOfWorkType(context.ImplementationType.GetTypeInfo()))
//TODO: Notice that it may add the interceptor more than one for every exposed service type!?
context.Interceptors.Add<UnitOfWorkInterceptor>();
}