Exemplo n.º 1
0
        public void Add(Address address)
        {
            var repo      = new LocationRepository(_settings);
            var dataModel = Mapper.Map <UserLocationDataModel>(address);

            dataModel.UserId = new Guid("C49200FC-C271-4CC3-8905-086A2CE9AB4E");
            repo.AddUserLocation(dataModel);
        }