fuck ICollection and the like...
This commit is contained in:
parent
d6ffce5e78
commit
de89eec555
|
@ -7,7 +7,7 @@ namespace Plattform.DB
|
|||
{
|
||||
public class AirlineDB
|
||||
{
|
||||
public ICollection<Airline> GetAllAirlines()
|
||||
public List<Airline> GetAllAirlines()
|
||||
{
|
||||
using (Context ctx = new Context())
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace Plattform.DB
|
|||
{
|
||||
public class AirportDB
|
||||
{
|
||||
public ICollection<Airport> GetAllAirports()
|
||||
public List<Airport> GetAllAirports()
|
||||
{
|
||||
using (Context ctx = new Context())
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Plattform.DB
|
|||
{
|
||||
public class AvailabilityDB
|
||||
{
|
||||
public ICollection<Availability> GetAllAvailabilities()
|
||||
public List<Availability> GetAllAvailabilities()
|
||||
{
|
||||
using (Context ctx = new Context())
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Plattform.DB
|
|||
{
|
||||
public class CityDB
|
||||
{
|
||||
public ICollection<City> GetAllCities()
|
||||
public List<City> GetAllCities()
|
||||
{
|
||||
using (Context ctx = new Context())
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace Plattform.DB
|
|||
{
|
||||
public class FlightDB
|
||||
{
|
||||
public ICollection<Flight> GetAllFlights()
|
||||
public List<Flight> GetAllFlights()
|
||||
{
|
||||
using (Context ctx = new Context())
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace Plattform.DB
|
|||
{
|
||||
public class GenderDB
|
||||
{
|
||||
public ICollection<Gender> GetAllGenders()
|
||||
public List<Gender> GetAllGenders()
|
||||
{
|
||||
using (Context ctx = new Context())
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Plattform.DB
|
|||
{
|
||||
public class HotelDB
|
||||
{
|
||||
public ICollection<Hotel> GetAllHotels()
|
||||
public List<Hotel> GetAllHotels()
|
||||
{
|
||||
using (Context ctx = new Context())
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace Plattform.DB
|
|||
{
|
||||
public class RoomDB
|
||||
{
|
||||
public ICollection<Room> GetAllRooms()
|
||||
public List<Room> GetAllRooms()
|
||||
{
|
||||
using (Context ctx = new Context())
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Plattform.DB
|
|||
{
|
||||
public class RoomTypeDB
|
||||
{
|
||||
public ICollection<RoomType> GetAllRoomTypes()
|
||||
public List<RoomType> GetAllRoomTypes()
|
||||
{
|
||||
using (Context ctx = new Context())
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace Plattform.DB
|
|||
{
|
||||
public class SalutationDB
|
||||
{
|
||||
public ICollection<Salutation> GetAllSalutations()
|
||||
public List<Salutation> GetAllSalutations()
|
||||
{
|
||||
using (Context ctx = new Context())
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace Plattform.DB
|
|||
{
|
||||
public class SpecialOfferDB
|
||||
{
|
||||
public ICollection<SpecialOffer> GetAllSpecialOffers()
|
||||
public List<SpecialOffer> GetAllSpecialOffers()
|
||||
{
|
||||
using (Context ctx = new Context())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue