private void LoadCustomMappings()
        {
            IList <IHaveCustomMapping> mapsFrom = MapperProfileHelper.LoadCustomMappings(typeof(PaymentViewModel).Assembly);

            foreach (IHaveCustomMapping map in mapsFrom)
            {
                map.CreateMappings(this);
            }
        }
        private void LoadStandardMappings()
        {
            IList <Map> mapsFrom = MapperProfileHelper.LoadStandardMappings(typeof(PaymentViewModel).Assembly);

            foreach (Map map in mapsFrom)
            {
                CreateMap(map.Source, map.Destination).ReverseMap();
            }
        }