├── .gitignore ├── ClientApp ├── .editorconfig ├── .gitignore ├── README.md ├── angular.json ├── e2e │ ├── protractor.conf.js │ ├── src │ │ ├── app.e2e-spec.ts │ │ └── app.po.ts │ └── tsconfig.e2e.json ├── package-lock.json ├── package.json ├── src │ ├── app │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.component.ts │ │ ├── app.module.ts │ │ ├── app.server.module.ts │ │ ├── fetch-data │ │ │ ├── fetch-data.component.html │ │ │ └── fetch-data.component.ts │ │ ├── home │ │ │ ├── home.component.html │ │ │ └── home.component.ts │ │ └── nav-menu │ │ │ ├── nav-menu.component.css │ │ │ ├── nav-menu.component.html │ │ │ └── nav-menu.component.ts │ ├── assets │ │ └── .gitkeep │ ├── browserslist │ ├── environments │ │ ├── environment.prod.ts │ │ └── environment.ts │ ├── index.html │ ├── karma.conf.js │ ├── main.ts │ ├── polyfills.ts │ ├── styles.css │ ├── test.ts │ ├── tsconfig.app.json │ ├── tsconfig.server.json │ ├── tsconfig.spec.json │ ├── tslint.json │ └── typings.d.ts ├── tsconfig.json └── tslint.json ├── Controllers └── ReservationsController.cs ├── Entities ├── Guest.cs ├── Reservation.cs ├── Room.cs └── RoomStatus.cs ├── EntityFrameworkCore └── MyHotelDbContext.cs ├── GraphQL ├── Client │ ├── ReservationGraphqlClient.cs │ └── ReservationHttpGraphqlClient.cs ├── MyHotelSchema.cs ├── ReservationQuery.cs └── Types │ ├── GuestType.cs │ ├── ReservationType.cs │ ├── RoomStatusType.cs │ └── RoomType.cs ├── Migrations ├── 20190211125156_InitialCreate.Designer.cs ├── 20190211125156_InitialCreate.cs ├── 20190211142417_InitialData.Designer.cs ├── 20190211142417_InitialData.cs └── MyHotelDbContextModelSnapshot.cs ├── Models ├── ErrorModel.cs ├── GuestModel.cs ├── ReservationContainer.cs ├── ReservationModel.cs ├── Response.cs ├── RoomModel.cs └── WeatherForecast.cs ├── MyHotel.csproj ├── MyHotel.sln ├── Pages ├── Error.cshtml ├── Error.cshtml.cs └── _ViewImports.cshtml ├── Program.cs ├── Properties └── launchSettings.json ├── Repositories └── ReservationRepository.cs ├── Startup.cs ├── appsettings.Development.json ├── appsettings.json └── wwwroot └── favicon.ico /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/.gitignore -------------------------------------------------------------------------------- /ClientApp/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/.editorconfig -------------------------------------------------------------------------------- /ClientApp/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/.gitignore -------------------------------------------------------------------------------- /ClientApp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/README.md -------------------------------------------------------------------------------- /ClientApp/angular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/angular.json -------------------------------------------------------------------------------- /ClientApp/e2e/protractor.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/e2e/protractor.conf.js -------------------------------------------------------------------------------- /ClientApp/e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/e2e/src/app.e2e-spec.ts -------------------------------------------------------------------------------- /ClientApp/e2e/src/app.po.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/e2e/src/app.po.ts -------------------------------------------------------------------------------- /ClientApp/e2e/tsconfig.e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/e2e/tsconfig.e2e.json -------------------------------------------------------------------------------- /ClientApp/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/package-lock.json -------------------------------------------------------------------------------- /ClientApp/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/package.json -------------------------------------------------------------------------------- /ClientApp/src/app/app.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/app/app.component.css -------------------------------------------------------------------------------- /ClientApp/src/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/app/app.component.html -------------------------------------------------------------------------------- /ClientApp/src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/app/app.component.ts -------------------------------------------------------------------------------- /ClientApp/src/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/app/app.module.ts -------------------------------------------------------------------------------- /ClientApp/src/app/app.server.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/app/app.server.module.ts -------------------------------------------------------------------------------- /ClientApp/src/app/fetch-data/fetch-data.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/app/fetch-data/fetch-data.component.html -------------------------------------------------------------------------------- /ClientApp/src/app/fetch-data/fetch-data.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/app/fetch-data/fetch-data.component.ts -------------------------------------------------------------------------------- /ClientApp/src/app/home/home.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/app/home/home.component.html -------------------------------------------------------------------------------- /ClientApp/src/app/home/home.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/app/home/home.component.ts -------------------------------------------------------------------------------- /ClientApp/src/app/nav-menu/nav-menu.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/app/nav-menu/nav-menu.component.css -------------------------------------------------------------------------------- /ClientApp/src/app/nav-menu/nav-menu.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/app/nav-menu/nav-menu.component.html -------------------------------------------------------------------------------- /ClientApp/src/app/nav-menu/nav-menu.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/app/nav-menu/nav-menu.component.ts -------------------------------------------------------------------------------- /ClientApp/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ClientApp/src/browserslist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/browserslist -------------------------------------------------------------------------------- /ClientApp/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /ClientApp/src/environments/environment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/environments/environment.ts -------------------------------------------------------------------------------- /ClientApp/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/index.html -------------------------------------------------------------------------------- /ClientApp/src/karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/karma.conf.js -------------------------------------------------------------------------------- /ClientApp/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/main.ts -------------------------------------------------------------------------------- /ClientApp/src/polyfills.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/polyfills.ts -------------------------------------------------------------------------------- /ClientApp/src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/styles.css -------------------------------------------------------------------------------- /ClientApp/src/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/test.ts -------------------------------------------------------------------------------- /ClientApp/src/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/tsconfig.app.json -------------------------------------------------------------------------------- /ClientApp/src/tsconfig.server.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/tsconfig.server.json -------------------------------------------------------------------------------- /ClientApp/src/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/tsconfig.spec.json -------------------------------------------------------------------------------- /ClientApp/src/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/src/tslint.json -------------------------------------------------------------------------------- /ClientApp/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare var Apollo: any; 2 | -------------------------------------------------------------------------------- /ClientApp/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/tsconfig.json -------------------------------------------------------------------------------- /ClientApp/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/ClientApp/tslint.json -------------------------------------------------------------------------------- /Controllers/ReservationsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Controllers/ReservationsController.cs -------------------------------------------------------------------------------- /Entities/Guest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Entities/Guest.cs -------------------------------------------------------------------------------- /Entities/Reservation.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Entities/Reservation.cs -------------------------------------------------------------------------------- /Entities/Room.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Entities/Room.cs -------------------------------------------------------------------------------- /Entities/RoomStatus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Entities/RoomStatus.cs -------------------------------------------------------------------------------- /EntityFrameworkCore/MyHotelDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/EntityFrameworkCore/MyHotelDbContext.cs -------------------------------------------------------------------------------- /GraphQL/Client/ReservationGraphqlClient.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/GraphQL/Client/ReservationGraphqlClient.cs -------------------------------------------------------------------------------- /GraphQL/Client/ReservationHttpGraphqlClient.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/GraphQL/Client/ReservationHttpGraphqlClient.cs -------------------------------------------------------------------------------- /GraphQL/MyHotelSchema.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/GraphQL/MyHotelSchema.cs -------------------------------------------------------------------------------- /GraphQL/ReservationQuery.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/GraphQL/ReservationQuery.cs -------------------------------------------------------------------------------- /GraphQL/Types/GuestType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/GraphQL/Types/GuestType.cs -------------------------------------------------------------------------------- /GraphQL/Types/ReservationType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/GraphQL/Types/ReservationType.cs -------------------------------------------------------------------------------- /GraphQL/Types/RoomStatusType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/GraphQL/Types/RoomStatusType.cs -------------------------------------------------------------------------------- /GraphQL/Types/RoomType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/GraphQL/Types/RoomType.cs -------------------------------------------------------------------------------- /Migrations/20190211125156_InitialCreate.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Migrations/20190211125156_InitialCreate.Designer.cs -------------------------------------------------------------------------------- /Migrations/20190211125156_InitialCreate.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Migrations/20190211125156_InitialCreate.cs -------------------------------------------------------------------------------- /Migrations/20190211142417_InitialData.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Migrations/20190211142417_InitialData.Designer.cs -------------------------------------------------------------------------------- /Migrations/20190211142417_InitialData.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Migrations/20190211142417_InitialData.cs -------------------------------------------------------------------------------- /Migrations/MyHotelDbContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Migrations/MyHotelDbContextModelSnapshot.cs -------------------------------------------------------------------------------- /Models/ErrorModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Models/ErrorModel.cs -------------------------------------------------------------------------------- /Models/GuestModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Models/GuestModel.cs -------------------------------------------------------------------------------- /Models/ReservationContainer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Models/ReservationContainer.cs -------------------------------------------------------------------------------- /Models/ReservationModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Models/ReservationModel.cs -------------------------------------------------------------------------------- /Models/Response.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Models/Response.cs -------------------------------------------------------------------------------- /Models/RoomModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Models/RoomModel.cs -------------------------------------------------------------------------------- /Models/WeatherForecast.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Models/WeatherForecast.cs -------------------------------------------------------------------------------- /MyHotel.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/MyHotel.csproj -------------------------------------------------------------------------------- /MyHotel.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/MyHotel.sln -------------------------------------------------------------------------------- /Pages/Error.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Pages/Error.cshtml -------------------------------------------------------------------------------- /Pages/Error.cshtml.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Pages/Error.cshtml.cs -------------------------------------------------------------------------------- /Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Pages/_ViewImports.cshtml -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Program.cs -------------------------------------------------------------------------------- /Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Properties/launchSettings.json -------------------------------------------------------------------------------- /Repositories/ReservationRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Repositories/ReservationRepository.cs -------------------------------------------------------------------------------- /Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/Startup.cs -------------------------------------------------------------------------------- /appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/appsettings.Development.json -------------------------------------------------------------------------------- /appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/appsettings.json -------------------------------------------------------------------------------- /wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ebicoglu/AspNetCoreGraphQL-MyHotel/HEAD/wwwroot/favicon.ico --------------------------------------------------------------------------------