├── .gitignore ├── Parking.Api ├── Commands │ ├── CloseParkingCommand.cs │ ├── CreateParkingCommand.cs │ ├── Handlers │ │ └── ParkingCommandHandler.cs │ ├── LeaveParkingPlaceCommand.cs │ ├── OpenParkingCommand.cs │ └── TakeParkingPlaceCommand.cs ├── Controllers │ └── ParkingController.cs ├── Migrations │ ├── 20190706101240_InitialMigration.Designer.cs │ ├── 20190706101240_InitialMigration.cs │ ├── 20190706102057_RemoveUser.Designer.cs │ ├── 20190706102057_RemoveUser.cs │ ├── 20190706102405_AddParkingFK.Designer.cs │ ├── 20190706102405_AddParkingFK.cs │ └── ParkingContextModelSnapshot.cs ├── Models │ ├── Command.cs │ ├── Parking.cs │ ├── ParkingContext.cs │ └── ParkingPlace.cs ├── Parking.Api.csproj ├── Program.cs ├── Properties │ └── launchSettings.json ├── Queries │ ├── GetAllParkingInfoQuery.cs │ ├── GetParkingInfoQuery.cs │ ├── GetRandomAvailablePlace.cs │ ├── GetTotalAvailablePlacesQuery.cs │ └── Handlers │ │ └── ParkingQueryHandler.cs ├── Requests │ └── CreateParkingRequest.cs ├── Responses │ ├── ParkingInfo.cs │ └── ParkingPlaceInfo.cs ├── Services │ ├── AuthenticationService.cs │ └── CommandStoreService.cs ├── Startup.cs ├── appsettings.Development.json └── appsettings.json └── readme.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/.gitignore -------------------------------------------------------------------------------- /Parking.Api/Commands/CloseParkingCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Commands/CloseParkingCommand.cs -------------------------------------------------------------------------------- /Parking.Api/Commands/CreateParkingCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Commands/CreateParkingCommand.cs -------------------------------------------------------------------------------- /Parking.Api/Commands/Handlers/ParkingCommandHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Commands/Handlers/ParkingCommandHandler.cs -------------------------------------------------------------------------------- /Parking.Api/Commands/LeaveParkingPlaceCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Commands/LeaveParkingPlaceCommand.cs -------------------------------------------------------------------------------- /Parking.Api/Commands/OpenParkingCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Commands/OpenParkingCommand.cs -------------------------------------------------------------------------------- /Parking.Api/Commands/TakeParkingPlaceCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Commands/TakeParkingPlaceCommand.cs -------------------------------------------------------------------------------- /Parking.Api/Controllers/ParkingController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Controllers/ParkingController.cs -------------------------------------------------------------------------------- /Parking.Api/Migrations/20190706101240_InitialMigration.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Migrations/20190706101240_InitialMigration.Designer.cs -------------------------------------------------------------------------------- /Parking.Api/Migrations/20190706101240_InitialMigration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Migrations/20190706101240_InitialMigration.cs -------------------------------------------------------------------------------- /Parking.Api/Migrations/20190706102057_RemoveUser.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Migrations/20190706102057_RemoveUser.Designer.cs -------------------------------------------------------------------------------- /Parking.Api/Migrations/20190706102057_RemoveUser.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Migrations/20190706102057_RemoveUser.cs -------------------------------------------------------------------------------- /Parking.Api/Migrations/20190706102405_AddParkingFK.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Migrations/20190706102405_AddParkingFK.Designer.cs -------------------------------------------------------------------------------- /Parking.Api/Migrations/20190706102405_AddParkingFK.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Migrations/20190706102405_AddParkingFK.cs -------------------------------------------------------------------------------- /Parking.Api/Migrations/ParkingContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Migrations/ParkingContextModelSnapshot.cs -------------------------------------------------------------------------------- /Parking.Api/Models/Command.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Models/Command.cs -------------------------------------------------------------------------------- /Parking.Api/Models/Parking.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Models/Parking.cs -------------------------------------------------------------------------------- /Parking.Api/Models/ParkingContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Models/ParkingContext.cs -------------------------------------------------------------------------------- /Parking.Api/Models/ParkingPlace.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Models/ParkingPlace.cs -------------------------------------------------------------------------------- /Parking.Api/Parking.Api.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Parking.Api.csproj -------------------------------------------------------------------------------- /Parking.Api/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Program.cs -------------------------------------------------------------------------------- /Parking.Api/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Properties/launchSettings.json -------------------------------------------------------------------------------- /Parking.Api/Queries/GetAllParkingInfoQuery.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Queries/GetAllParkingInfoQuery.cs -------------------------------------------------------------------------------- /Parking.Api/Queries/GetParkingInfoQuery.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Queries/GetParkingInfoQuery.cs -------------------------------------------------------------------------------- /Parking.Api/Queries/GetRandomAvailablePlace.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Queries/GetRandomAvailablePlace.cs -------------------------------------------------------------------------------- /Parking.Api/Queries/GetTotalAvailablePlacesQuery.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Queries/GetTotalAvailablePlacesQuery.cs -------------------------------------------------------------------------------- /Parking.Api/Queries/Handlers/ParkingQueryHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Queries/Handlers/ParkingQueryHandler.cs -------------------------------------------------------------------------------- /Parking.Api/Requests/CreateParkingRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Requests/CreateParkingRequest.cs -------------------------------------------------------------------------------- /Parking.Api/Responses/ParkingInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Responses/ParkingInfo.cs -------------------------------------------------------------------------------- /Parking.Api/Responses/ParkingPlaceInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Responses/ParkingPlaceInfo.cs -------------------------------------------------------------------------------- /Parking.Api/Services/AuthenticationService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Services/AuthenticationService.cs -------------------------------------------------------------------------------- /Parking.Api/Services/CommandStoreService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Services/CommandStoreService.cs -------------------------------------------------------------------------------- /Parking.Api/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/Startup.cs -------------------------------------------------------------------------------- /Parking.Api/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/appsettings.Development.json -------------------------------------------------------------------------------- /Parking.Api/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/Parking.Api/appsettings.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Odonno/cqrs-dotnet-core-example/HEAD/readme.md --------------------------------------------------------------------------------