Esempio n. 1
0
        public UpdateEmployeeTests()
        {
            _mockEmployeeRepository = RepositoryMocks.GetEmployeeRepository();
            var configurationProvider = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile <MappingProfiles>();
            });

            _mapper = configurationProvider.CreateMapper();
        }
        public GetEmployeesListQueryHandlerTest()
        {
            _mockEmployeeRepository = RepositoryMocks.GetEmployeeRepository();
            var configurationProvider = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile <MappingProfile>();
            });

            _mapper = configurationProvider.CreateMapper();
        }