public async Task EditPropertiesShouldEditCorretly()
        {
            var db = GetDatabase();
            var propertyRepository = new EfDeletableEntityRepository <Property>(db);

            var service = new PropertiesService(propertyRepository);

            var property = new Property()
            {
                Id          = 1,
                Name        = "Name",
                Description = "Description",
                Location    = "Location",
                Address     = "Address",
                Area        = "Area",
                Price       = 1,
                Baths       = 1,
                Beds        = 1,
                Garages     = 1,
            };

            AutoMapperConfig.RegisterMappings(typeof(EditPropertyInputModel).Assembly);

            var propertyEdit = new Web.ViewModels.Property.EditPropertyInputModel()
            {
                Id          = 1,
                Name        = "Name2",
                Description = "Description2",
                Location    = "Location2",
                Address     = "Address2",
                Area        = "Area2",
                Price       = 2,
                Baths       = 2,
                Beds        = 2,
                Garages     = 2,
            };

            await db.Properties.AddAsync(property);

            await db.SaveChangesAsync();

            await service.UpdateAsync(1, propertyEdit);

            Assert.Equal("Name2", property.Name);
            Assert.Equal("Description2", property.Description);
            Assert.Equal("Location2", property.Location);
            Assert.Equal("Address2", property.Address);
            Assert.Equal("Area2", property.Area);
            Assert.Equal(2, property.Price);
            Assert.Equal(2, property.Baths);
            Assert.Equal(2, property.Beds);
            Assert.Equal(2, property.Garages);
        }