Exemplo n.º 1
0
        public void HelperMethodAddClosingFileAddressAndLocation()
        {
            var addressesRepository = new AddressesRepository(_dbConn);

            addressesRepository.InsertAdress(UserId);
            AddressId = addressesRepository.GetAddressId(UserId);
            var locationsRepository = new LocationsRepository(_dbConn);

            locationsRepository.InsertLocation(CompanyId, AddressId, UserId);
            LocationId = locationsRepository.GetLocationId(CompanyId, AddressId, UserId);
        }