remove unnecessary code

This commit is contained in:
Andreas Zweili 2017-08-30 16:22:18 +02:00
parent b1ce4f40f4
commit 607db6b494
1 changed files with 0 additions and 17 deletions

View File

@ -38,23 +38,6 @@ namespace db_AI_4
}
// Insert Locations into Database start
public void InsertLocations(string StreetName, int LocationCapacity, string LocationName)
{
using (IDbConnection connection = new System.Data.SqlClient.SqlConnection(Helper.CnnVal("marketdb")))
{
List<GetLocations> locations = new List<GetLocations>();
locations.Add(new GetLocations { streetname = StreetName, location_capacity = LocationCapacity, location_name = LocationName });
connection.Execute("INSERT INTO dbo.locations (streetname, location_capacity, location_name)" +
" VALUES (@streetName, @location_capacity, @location_name)", locations);
}
}
// Insert Locations into Database end
// Insert Rents into Database start
public void InsertRent(string RentDate, int MemberID, int RentPriceID )
{