public FlightController()
 {
     context                = new ApplicationDbContext();
     flightRepository       = new FlightRepository(context);
     flightSeatRepository   = new FlightSeatRepository(context);
     flightStatusRepository = new FlightStatusRepository(context);
     flightPathRepository   = new FlightPathRepository(context);
     starshipRepository     = new StarshipRepository(context);
     unitOfWork             = new UnitOfWork(context);
 }
 public UsersFlightsController()
 {
     context                = new ApplicationDbContext();
     flightRepository       = new FlightRepository(context);
     flightStatusRepository = new FlightStatusRepository(context);
 }