Exemplo n.º 1
0
 public void Initialize()
 {
     try
     {
         Mapper.Configuration.AssertConfigurationIsValid();
     }
     catch (System.Exception)
     {
         Mapper.Initialize(config =>
         {
             config.AddProfile<RCE.Infrastructure.MapperProfile>();
         }); ;
     }
     _userToProductRepository = new UserToProductRepository();
 }
Exemplo n.º 2
0
 public BaseUserToProductBusinessLogic(IUserToProductQueryService userToProductQueryService, IUserToProductRepository userToProductRepository)
 {
     _userToProductRepository   = userToProductRepository;
     _userToProductQueryService = userToProductQueryService;
 }