├── .gitignore ├── After ├── OnlineTheater.sln └── src │ ├── Api │ ├── Api.csproj │ ├── Customers │ │ ├── CreateCustomerDto.cs │ │ ├── CustomerDto.cs │ │ ├── CustomerInListDto.cs │ │ ├── CustomersController.cs │ │ ├── MovieDto.cs │ │ ├── PurchasedMovieDto.cs │ │ └── UpdateCustomerDto.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Utils │ │ ├── BaseController.cs │ │ ├── Envelope.cs │ │ ├── ExceptionHandler.cs │ │ ├── Program.cs │ │ └── Startup.cs │ ├── appsettings.Development.json │ └── appsettings.json │ ├── Database.sql │ └── Logic │ ├── Common │ ├── Entity.cs │ └── Repository.cs │ ├── Customers │ ├── Customer.cs │ ├── CustomerMap.cs │ ├── CustomerName.cs │ ├── CustomerRepository.cs │ ├── CustomerStatus.cs │ ├── Dollars.cs │ ├── Email.cs │ ├── ExpirationDate.cs │ ├── LicensingModel.cs │ ├── PurchasedMovie.cs │ └── PurchasedMovieMap.cs │ ├── Logic.csproj │ ├── Movies │ ├── Movie.cs │ ├── MovieMap.cs │ └── MovieRepository.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── Utils │ ├── SessionFactory.cs │ └── UnitOfWork.cs │ ├── app.config │ └── packages.config ├── Before ├── OnlineTheaterBefore.sln └── src │ ├── Api │ ├── Api.csproj │ ├── Controllers │ │ └── CustomersController.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── appsettings.Development.json │ └── appsettings.json │ └── Logic │ ├── Entities │ ├── Customer.cs │ ├── CustomerStatus.cs │ ├── Entity.cs │ ├── LicensingModel.cs │ ├── Movie.cs │ └── PurchasedMovie.cs │ ├── Logic.csproj │ ├── Mappings │ ├── CustomerMap.cs │ ├── MovieMap.cs │ └── PurchasedMovieMap.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── Repositories │ ├── CustomerRepository.cs │ ├── MovieRepository.cs │ └── Repository.cs │ ├── Services │ ├── CustomerService.cs │ └── MovieService.cs │ ├── Utils │ ├── SessionFactory.cs │ └── UnitOfWork.cs │ ├── app.config │ └── packages.config ├── LICENSE └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/.gitignore -------------------------------------------------------------------------------- /After/OnlineTheater.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/OnlineTheater.sln -------------------------------------------------------------------------------- /After/src/Api/Api.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/Api.csproj -------------------------------------------------------------------------------- /After/src/Api/Customers/CreateCustomerDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/Customers/CreateCustomerDto.cs -------------------------------------------------------------------------------- /After/src/Api/Customers/CustomerDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/Customers/CustomerDto.cs -------------------------------------------------------------------------------- /After/src/Api/Customers/CustomerInListDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/Customers/CustomerInListDto.cs -------------------------------------------------------------------------------- /After/src/Api/Customers/CustomersController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/Customers/CustomersController.cs -------------------------------------------------------------------------------- /After/src/Api/Customers/MovieDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/Customers/MovieDto.cs -------------------------------------------------------------------------------- /After/src/Api/Customers/PurchasedMovieDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/Customers/PurchasedMovieDto.cs -------------------------------------------------------------------------------- /After/src/Api/Customers/UpdateCustomerDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/Customers/UpdateCustomerDto.cs -------------------------------------------------------------------------------- /After/src/Api/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/Properties/launchSettings.json -------------------------------------------------------------------------------- /After/src/Api/Utils/BaseController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/Utils/BaseController.cs -------------------------------------------------------------------------------- /After/src/Api/Utils/Envelope.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/Utils/Envelope.cs -------------------------------------------------------------------------------- /After/src/Api/Utils/ExceptionHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/Utils/ExceptionHandler.cs -------------------------------------------------------------------------------- /After/src/Api/Utils/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/Utils/Program.cs -------------------------------------------------------------------------------- /After/src/Api/Utils/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/Utils/Startup.cs -------------------------------------------------------------------------------- /After/src/Api/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/appsettings.Development.json -------------------------------------------------------------------------------- /After/src/Api/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Api/appsettings.json -------------------------------------------------------------------------------- /After/src/Database.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Database.sql -------------------------------------------------------------------------------- /After/src/Logic/Common/Entity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Common/Entity.cs -------------------------------------------------------------------------------- /After/src/Logic/Common/Repository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Common/Repository.cs -------------------------------------------------------------------------------- /After/src/Logic/Customers/Customer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Customers/Customer.cs -------------------------------------------------------------------------------- /After/src/Logic/Customers/CustomerMap.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Customers/CustomerMap.cs -------------------------------------------------------------------------------- /After/src/Logic/Customers/CustomerName.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Customers/CustomerName.cs -------------------------------------------------------------------------------- /After/src/Logic/Customers/CustomerRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Customers/CustomerRepository.cs -------------------------------------------------------------------------------- /After/src/Logic/Customers/CustomerStatus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Customers/CustomerStatus.cs -------------------------------------------------------------------------------- /After/src/Logic/Customers/Dollars.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Customers/Dollars.cs -------------------------------------------------------------------------------- /After/src/Logic/Customers/Email.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Customers/Email.cs -------------------------------------------------------------------------------- /After/src/Logic/Customers/ExpirationDate.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Customers/ExpirationDate.cs -------------------------------------------------------------------------------- /After/src/Logic/Customers/LicensingModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Customers/LicensingModel.cs -------------------------------------------------------------------------------- /After/src/Logic/Customers/PurchasedMovie.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Customers/PurchasedMovie.cs -------------------------------------------------------------------------------- /After/src/Logic/Customers/PurchasedMovieMap.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Customers/PurchasedMovieMap.cs -------------------------------------------------------------------------------- /After/src/Logic/Logic.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Logic.csproj -------------------------------------------------------------------------------- /After/src/Logic/Movies/Movie.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Movies/Movie.cs -------------------------------------------------------------------------------- /After/src/Logic/Movies/MovieMap.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Movies/MovieMap.cs -------------------------------------------------------------------------------- /After/src/Logic/Movies/MovieRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Movies/MovieRepository.cs -------------------------------------------------------------------------------- /After/src/Logic/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /After/src/Logic/Utils/SessionFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Utils/SessionFactory.cs -------------------------------------------------------------------------------- /After/src/Logic/Utils/UnitOfWork.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/Utils/UnitOfWork.cs -------------------------------------------------------------------------------- /After/src/Logic/app.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/app.config -------------------------------------------------------------------------------- /After/src/Logic/packages.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/After/src/Logic/packages.config -------------------------------------------------------------------------------- /Before/OnlineTheaterBefore.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/OnlineTheaterBefore.sln -------------------------------------------------------------------------------- /Before/src/Api/Api.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Api/Api.csproj -------------------------------------------------------------------------------- /Before/src/Api/Controllers/CustomersController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Api/Controllers/CustomersController.cs -------------------------------------------------------------------------------- /Before/src/Api/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Api/Program.cs -------------------------------------------------------------------------------- /Before/src/Api/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Api/Properties/launchSettings.json -------------------------------------------------------------------------------- /Before/src/Api/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Api/Startup.cs -------------------------------------------------------------------------------- /Before/src/Api/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Api/appsettings.Development.json -------------------------------------------------------------------------------- /Before/src/Api/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Api/appsettings.json -------------------------------------------------------------------------------- /Before/src/Logic/Entities/Customer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Entities/Customer.cs -------------------------------------------------------------------------------- /Before/src/Logic/Entities/CustomerStatus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Entities/CustomerStatus.cs -------------------------------------------------------------------------------- /Before/src/Logic/Entities/Entity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Entities/Entity.cs -------------------------------------------------------------------------------- /Before/src/Logic/Entities/LicensingModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Entities/LicensingModel.cs -------------------------------------------------------------------------------- /Before/src/Logic/Entities/Movie.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Entities/Movie.cs -------------------------------------------------------------------------------- /Before/src/Logic/Entities/PurchasedMovie.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Entities/PurchasedMovie.cs -------------------------------------------------------------------------------- /Before/src/Logic/Logic.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Logic.csproj -------------------------------------------------------------------------------- /Before/src/Logic/Mappings/CustomerMap.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Mappings/CustomerMap.cs -------------------------------------------------------------------------------- /Before/src/Logic/Mappings/MovieMap.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Mappings/MovieMap.cs -------------------------------------------------------------------------------- /Before/src/Logic/Mappings/PurchasedMovieMap.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Mappings/PurchasedMovieMap.cs -------------------------------------------------------------------------------- /Before/src/Logic/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /Before/src/Logic/Repositories/CustomerRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Repositories/CustomerRepository.cs -------------------------------------------------------------------------------- /Before/src/Logic/Repositories/MovieRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Repositories/MovieRepository.cs -------------------------------------------------------------------------------- /Before/src/Logic/Repositories/Repository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Repositories/Repository.cs -------------------------------------------------------------------------------- /Before/src/Logic/Services/CustomerService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Services/CustomerService.cs -------------------------------------------------------------------------------- /Before/src/Logic/Services/MovieService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Services/MovieService.cs -------------------------------------------------------------------------------- /Before/src/Logic/Utils/SessionFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Utils/SessionFactory.cs -------------------------------------------------------------------------------- /Before/src/Logic/Utils/UnitOfWork.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/Utils/UnitOfWork.cs -------------------------------------------------------------------------------- /Before/src/Logic/app.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/app.config -------------------------------------------------------------------------------- /Before/src/Logic/packages.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/Before/src/Logic/packages.config -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vkhorikov/AnemicDomainModel/HEAD/README.md --------------------------------------------------------------------------------