/// <summary> /// contructor of RentBikeController /// </summary> public RentBikeController() { bikeService = new BaseBikeService(SQLConnecter.GetInstance()); stationService = new StationService(SQLConnecter.GetInstance()); cardService = new CardService(SQLConnecter.GetInstance()); transactionService = new TransactionService(SQLConnecter.GetInstance()); }
/// <summary> /// Contructor of ViewBikeController /// </summary> public ViewBikeController() { bikeService = new BaseBikeService(SQLConnecter.GetInstance()); }