public BuyService() { var autoMapperConfig = new AutoMapperConfig(); autoMapperConfig.RegisterBuyMappings(); }