Added AutoMapper for BlockGroup to BlockGroupViewModel translation

This commit is contained in:
Ben
2015-06-18 21:08:44 +01:00
parent 8119018f33
commit c80d4825df
12 changed files with 299 additions and 140 deletions

View File

@@ -2,6 +2,7 @@
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using Filtration.Services;
using Filtration.Utilities;
namespace Filtration.WindsorInstallers
{
@@ -23,6 +24,11 @@ namespace Filtration.WindsorInstallers
Component.For<IStaticDataService>()
.ImplementedBy<StaticDataService>()
.LifeStyle.Singleton);
container.Register(
Component.For<IBlockGroupMapper>()
.ImplementedBy<BlockGroupMapper>()
.LifeStyle.Singleton);
}
}
}