Skip to content

Commit a836086

Browse files
FabianGosebrinkFabianGosebrink
authored andcommitted
removing unused sampledata
1 parent d3ca96f commit a836086

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/SampleWebApiAspNetCore/Startup.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ public Startup(IHostingEnvironment env)
3030
// This method gets called by the runtime. Use this method to add services to the container.
3131
public void ConfigureServices(IServiceCollection services)
3232
{
33-
List<HouseEntity> houses = new List<HouseEntity>()
34-
{
35-
new HouseEntity() {City = "Town1", Id = 1, Street = "Street1", ZipCode = 1234},
36-
new HouseEntity() {City = "Town2", Id = 2, Street = "Street2", ZipCode = 5678},
37-
new HouseEntity() {City = "Town3", Id = 3, Street = "Street3", ZipCode = 9012},
38-
new HouseEntity() {City = "Town4", Id = 4, Street = "Street4", ZipCode = 3456}
39-
};
40-
4133
services.AddSingleton<IHouseRepository, HouseRepository>();
4234

4335
services.AddTransient<IHouseMapper, HouseMapper>();

0 commit comments

Comments
 (0)