public CustomerService(CustomersContext context, IMapper mapper, IConfigurationProvider mapperConfig) { _context = context; _mapper = mapper; _mapperConfiguration = mapperConfig; _context.CreateSeedData(); }