├── .config └── dotnet-tools.json ├── .csharpierrc ├── .editorconfig ├── .gitattributes ├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md ├── TobetoPlatformCleanArchitecture.sln ├── TobetoPlatformCleanArchitecture.sln.DotSettings ├── docs └── Semantic Commit Messages.md ├── src ├── corePackages │ ├── .config │ │ └── dotnet-tools.json │ ├── .csharpierrc │ ├── .editorconfig │ ├── .gitattributes │ ├── .gitignore │ ├── Core.Application │ │ ├── Core.Application.csproj │ │ ├── Dtos │ │ │ ├── IDto.cs │ │ │ ├── UserForLoginDto.cs │ │ │ └── UserForRegisterDto.cs │ │ ├── Pipelines │ │ │ ├── Authorization │ │ │ │ ├── AuthorizationBehavior.cs │ │ │ │ └── ISecuredRequest.cs │ │ │ ├── Caching │ │ │ │ ├── CacheRemovingBehavior.cs │ │ │ │ ├── CacheSettings.cs │ │ │ │ ├── CachingBehavior.cs │ │ │ │ ├── ICachableRequest.cs │ │ │ │ └── ICacheRemoverRequest.cs │ │ │ ├── Logging │ │ │ │ ├── ILoggableRequest.cs │ │ │ │ └── LoggingBehavior.cs │ │ │ ├── Performance │ │ │ │ ├── IIntervalRequest.cs │ │ │ │ └── PerformanceBehavior.cs │ │ │ ├── Transaction │ │ │ │ ├── ITransactionalRequest.cs │ │ │ │ └── TransactionScopeBehavior.cs │ │ │ └── Validation │ │ │ │ ├── RequestValidationBehavior.cs │ │ │ │ └── ValidationTool.cs │ │ ├── Requests │ │ │ └── PageRequest.cs │ │ ├── Responses │ │ │ ├── GetListResponse.cs │ │ │ └── IResponse.cs │ │ └── Rules │ │ │ └── BaseBusinessRules.cs │ ├── Core.CrossCuttingConcerns │ │ ├── Core.CrossCuttingConcerns.csproj │ │ ├── Exceptions │ │ │ ├── ExceptionMiddleware.cs │ │ │ ├── Extensions │ │ │ │ ├── ExceptionMiddlewareExtensions.cs │ │ │ │ └── ProblemDetailsExtensions.cs │ │ │ ├── Handlers │ │ │ │ ├── ExceptionHandler.cs │ │ │ │ └── HttpExceptionHandler.cs │ │ │ ├── HttpProblemDetails │ │ │ │ ├── AuthorizationProblemDetails.cs │ │ │ │ ├── BusinessProblemDetails.cs │ │ │ │ ├── InternalServerErrorProblemDetails.cs │ │ │ │ ├── NotFoundProblemDetails.cs │ │ │ │ └── ValidationProblemDetails.cs │ │ │ └── Types │ │ │ │ ├── AuthorizationException.cs │ │ │ │ ├── BusinessException.cs │ │ │ │ ├── NotFoundException.cs │ │ │ │ └── ValidationException.cs │ │ └── Logging │ │ │ ├── LogDetail.cs │ │ │ ├── LogDetailWithException.cs │ │ │ ├── LogParameter.cs │ │ │ └── Serilog │ │ │ ├── ConfigurationModels │ │ │ ├── ElasticSearchConfiguration.cs │ │ │ ├── FileLogConfiguration.cs │ │ │ ├── GraylogConfiguration.cs │ │ │ ├── MongoDbConfiguration.cs │ │ │ ├── MsSqlConfiguration.cs │ │ │ ├── PostgreSqlConfiguration.cs │ │ │ └── RabbitMQConfiguration.cs │ │ │ ├── Logger │ │ │ ├── ElasticSearchLogger.cs │ │ │ ├── FileLogger.cs │ │ │ ├── GraylogLogger.cs │ │ │ ├── MongoDbLogger.cs │ │ │ ├── MsSqlLogger.cs │ │ │ ├── PostgreSqlLogger.cs │ │ │ └── RabbitMQLogger.cs │ │ │ ├── LoggerServiceBase.cs │ │ │ └── Messages │ │ │ └── SerilogMessages.cs │ ├── Core.ElasticSearch │ │ ├── Core.ElasticSearch.csproj │ │ ├── ElasticSearchManager.cs │ │ ├── IElasticSearch.cs │ │ └── Models │ │ │ ├── ElasticSearchConfig.cs │ │ │ ├── ElasticSearchGetModel.cs │ │ │ ├── ElasticSearchInsertManyModel.cs │ │ │ ├── ElasticSearchInsertUpdateModel.cs │ │ │ ├── ElasticSearchModel.cs │ │ │ ├── ElasticSearchResult.cs │ │ │ ├── IElasticSearchResult.cs │ │ │ ├── IndexModel.cs │ │ │ ├── SearchByFieldParameters.cs │ │ │ ├── SearchByQueryParameters.cs │ │ │ └── SearchParameters.cs │ ├── Core.Mailing │ │ ├── Core.Mailing.csproj │ │ ├── IMailService.cs │ │ ├── Mail.cs │ │ ├── MailKitImplementations │ │ │ └── MailKitMailService.cs │ │ ├── MailSettings.cs │ │ └── ToEmail.cs │ ├── Core.Persistence │ │ ├── Core.Persistence.csproj │ │ ├── Dynamic │ │ │ ├── DynamicQuery.cs │ │ │ ├── Filter.cs │ │ │ ├── IQueryableDynamicFilterExtensions.cs │ │ │ └── Sort.cs │ │ ├── Paging │ │ │ ├── BasePageableModel.cs │ │ │ ├── IPaginate.cs │ │ │ ├── IQueryablePaginateExtensions.cs │ │ │ └── Paginate.cs │ │ └── Repositories │ │ │ ├── EfRepositoryBase.cs │ │ │ ├── Entity.cs │ │ │ ├── IAsyncRepository.cs │ │ │ ├── IEntityTimestamps.cs │ │ │ ├── IQuery.cs │ │ │ └── IRepository.cs │ ├── Core.Security │ │ ├── Constants │ │ │ └── GeneralOperationClaims.cs │ │ ├── Core.Security.csproj │ │ ├── EmailAuthenticator │ │ │ ├── EmailAuthenticatorHelper.cs │ │ │ └── IEmailAuthenticatorHelper.cs │ │ ├── Encryption │ │ │ ├── SecurityKeyHelper.cs │ │ │ └── SigningCredentialsHelper.cs │ │ ├── Entities │ │ │ ├── EmailAuthenticator.cs │ │ │ ├── OperationClaim.cs │ │ │ ├── OtpAuthenticator.cs │ │ │ ├── RefreshToken.cs │ │ │ ├── User.cs │ │ │ └── UserOperationClaim.cs │ │ ├── Enums │ │ │ └── AuthenticatorType.cs │ │ ├── Extensions │ │ │ ├── ClaimExtensions.cs │ │ │ └── ClaimsPrincipalExtensions.cs │ │ ├── Hashing │ │ │ └── HashingHelper.cs │ │ ├── JWT │ │ │ ├── AccessToken.cs │ │ │ ├── ITokenHelper.cs │ │ │ ├── JwtHelper.cs │ │ │ └── TokenOptions.cs │ │ ├── OtpAuthenticator │ │ │ ├── IOtpAuthenticatorHelper.cs │ │ │ └── OtpNet │ │ │ │ └── OtpNetOtpAuthenticatorHelper.cs │ │ └── SecurityServiceRegistration.cs │ ├── Core.Test │ │ ├── Application │ │ │ ├── Constants │ │ │ │ └── ValidationErrorCodes.cs │ │ │ ├── FakeData │ │ │ │ └── BaseFakeData.cs │ │ │ ├── Helpers │ │ │ │ └── MockRepositoryHelper.cs │ │ │ └── Repositories │ │ │ │ └── BaseMockRepository.cs │ │ └── Core.Test.csproj │ ├── Core.WebAPI │ │ ├── Core.WebAPI.csproj │ │ └── Extensions │ │ │ └── Swagger │ │ │ └── BearerSecurityRequirementOperationFilter.cs │ ├── CorePackages.sln │ ├── LICENSE │ ├── README.md │ └── docs │ │ ├── Semantic Commit Messages.md │ │ └── n-architecture-logo.png └── tobetoPlatformCleanArchitecture │ ├── Application │ ├── Application.csproj │ ├── ApplicationServiceRegistration.cs │ ├── Dtos │ │ └── UserWithNationalIdentificationNumberForRegisterDto.cs │ ├── Features │ │ ├── AccountAnnouncements │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountAnnouncementCommand.cs │ │ │ │ │ ├── CreateAccountAnnouncementCommandValidator.cs │ │ │ │ │ └── CreatedAccountAnnouncementResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountAnnouncementCommand.cs │ │ │ │ │ ├── DeletedAccountAnnouncementCommandValidator.cs │ │ │ │ │ └── DeletedAccountAnnouncementResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountAnnouncementCommand.cs │ │ │ │ │ ├── UpdateAccountAnnouncementCommandValidator.cs │ │ │ │ │ └── UpdatedAccountAnnouncementResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountAnnouncementsBusinessMessages.cs │ │ │ │ └── AccountAnnouncementsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountAnnouncementQuery.cs │ │ │ │ │ └── GetByIdAccountAnnouncementResponse.cs │ │ │ │ ├── GetList │ │ │ │ │ ├── GetListAccountAnnouncementListItemDto.cs │ │ │ │ │ └── GetListAccountAnnouncementQuery.cs │ │ │ │ └── GetListByAccountId │ │ │ │ │ ├── GetListByAccountIdAccountAnnouncementListItemDto.cs │ │ │ │ │ └── GetListByAccountIdAccountAnnouncementQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountAnnouncementBusinessRules.cs │ │ ├── AccountCapabilities │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountCapabilityCommand.cs │ │ │ │ │ ├── CreateAccountCapabilityCommandValidator.cs │ │ │ │ │ └── CreatedAccountCapabilityResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountCapabilityCommand.cs │ │ │ │ │ ├── DeletedAccountCapabilityCommandValidator.cs │ │ │ │ │ └── DeletedAccountCapabilityResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountCapabilityCommand.cs │ │ │ │ │ ├── UpdateAccountCapabilityCommandValidator.cs │ │ │ │ │ └── UpdatedAccountCapabilityResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountCapabilitiesBusinessMessages.cs │ │ │ │ └── AccountCapabilitiesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountCapabilityQuery.cs │ │ │ │ │ └── GetByIdAccountCapabilityResponse.cs │ │ │ │ ├── GetList │ │ │ │ │ ├── GetListAccountCapabilityListItemDto.cs │ │ │ │ │ └── GetListAccountCapabilityQuery.cs │ │ │ │ └── GetListByAccountId │ │ │ │ │ ├── GetListByAccountIdAccountCapabilityListItemDto.cs │ │ │ │ │ └── GetListByAccountIdAccountCapabilityQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountCapabilityBusinessRules.cs │ │ ├── AccountCertificates │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountCertificateCommand.cs │ │ │ │ │ ├── CreateAccountCertificateCommandValidator.cs │ │ │ │ │ └── CreatedAccountCertificateResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountCertificateCommand.cs │ │ │ │ │ ├── DeletedAccountCertificateCommandValidator.cs │ │ │ │ │ └── DeletedAccountCertificateResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountCertificateCommand.cs │ │ │ │ │ ├── UpdateAccountCertificateCommandValidator.cs │ │ │ │ │ └── UpdatedAccountCertificateResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountCertificatesBusinessMessages.cs │ │ │ │ └── AccountCertificatesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountCertificateQuery.cs │ │ │ │ │ └── GetByIdAccountCertificateResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListAccountCertificateListItemDto.cs │ │ │ │ │ └── GetListAccountCertificateQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountCertificateBusinessRules.cs │ │ ├── AccountClassrooms │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountClassroomCommand.cs │ │ │ │ │ ├── CreateAccountClassroomCommandValidator.cs │ │ │ │ │ └── CreatedAccountClassroomResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountClassroomCommand.cs │ │ │ │ │ ├── DeletedAccountClassroomCommandValidator.cs │ │ │ │ │ └── DeletedAccountClassroomResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountClassroomCommand.cs │ │ │ │ │ ├── UpdateAccountClassroomCommandValidator.cs │ │ │ │ │ └── UpdatedAccountClassroomResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountClassroomsBusinessMessages.cs │ │ │ │ └── AccountClassroomsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountClassroomQuery.cs │ │ │ │ │ └── GetByIdAccountClassroomResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListAccountClassroomListItemDto.cs │ │ │ │ │ └── GetListAccountClassroomQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountClassroomBusinessRules.cs │ │ ├── AccountCollegeMetadatas │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountCollegeMetadataCommand.cs │ │ │ │ │ ├── CreateAccountCollegeMetadataCommandValidator.cs │ │ │ │ │ └── CreatedAccountCollegeMetadataResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountCollegeMetadataCommand.cs │ │ │ │ │ ├── DeleteAccountCollegeMetadataCommandValidator.cs │ │ │ │ │ └── DeletedAccountCollegeMetadataResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountCollegeMetadataCommand.cs │ │ │ │ │ ├── UpdateAccountCollegeMetadataCommandValidator.cs │ │ │ │ │ └── UpdatedAccountCollegeMetadataResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountCollegeMetadatasBusinessMessages.cs │ │ │ │ └── AccountCollegeMetadatasOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountCollegeMetadataQuery.cs │ │ │ │ │ └── GetByIdAccountCollegeMetadataResponse.cs │ │ │ │ ├── GetList │ │ │ │ │ ├── GetListAccountCollegeMetadataListItemDto.cs │ │ │ │ │ └── GetListAccountCollegeMetadataQuery.cs │ │ │ │ └── GetListByAccountId │ │ │ │ │ ├── GetListByAccountIdAccountCollegeMetadataListItemDto.cs │ │ │ │ │ └── GetListByAccountIdAccountCollegeMetadataQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountCollegeMetadataBusinessRules.cs │ │ ├── AccountContracts │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountContractCommand.cs │ │ │ │ │ ├── CreateAccountContractCommandValidator.cs │ │ │ │ │ └── CreatedAccountContractResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountContractCommand.cs │ │ │ │ │ ├── DeletedAccountContractCommandValidator.cs │ │ │ │ │ └── DeletedAccountContractResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountContractCommand.cs │ │ │ │ │ ├── UpdateAccountContractCommandValidator.cs │ │ │ │ │ └── UpdatedAccountContractResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountContractsBusinessMessages.cs │ │ │ │ └── AccountContractsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountContractQuery.cs │ │ │ │ │ └── GetByIdAccountContractResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListAccountContractListItemDto.cs │ │ │ │ │ └── GetListAccountContractQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountContractBusinessRules.cs │ │ ├── AccountCourses │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountCourseCommand.cs │ │ │ │ │ ├── CreateAccountCourseCommandValidator.cs │ │ │ │ │ └── CreatedAccountCourseResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountCourseCommand.cs │ │ │ │ │ ├── DeletedAccountCourseCommandValidator.cs │ │ │ │ │ └── DeletedAccountCourseResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountCourseCommand.cs │ │ │ │ │ ├── UpdateAccountCourseCommandValidator.cs │ │ │ │ │ └── UpdatedAccountCourseResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountCoursesBusinessMessages.cs │ │ │ │ └── AccountCoursesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountCourseQuery.cs │ │ │ │ │ └── GetByIdAccountCourseResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListAccountCourseListItemDto.cs │ │ │ │ │ └── GetListAccountCourseQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountCourseBusinessRules.cs │ │ ├── AccountExamResults │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountExamResultCommand.cs │ │ │ │ │ ├── CreateAccountExamResultCommandValidator.cs │ │ │ │ │ └── CreatedAccountExamResultResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountExamResultCommand.cs │ │ │ │ │ ├── DeletedAccountExamResultCommandValidator.cs │ │ │ │ │ └── DeletedAccountExamResultResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountExamResultCommand.cs │ │ │ │ │ ├── UpdateAccountExamResultCommandValidator.cs │ │ │ │ │ └── UpdatedAccountExamResultResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountExamResultsBusinessMessages.cs │ │ │ │ └── AccountExamResultsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountExamResultQuery.cs │ │ │ │ │ └── GetByIdAccountExamResultResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListAccountExamResultListItemDto.cs │ │ │ │ │ └── GetListAccountExamResultQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountExamResultBusinessRules.cs │ │ ├── AccountForeignLanguageMetadatas │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountForeignLanguageMetadataCommand.cs │ │ │ │ │ ├── CreateAccountForeignLanguageMetadataCommandValidator.cs │ │ │ │ │ └── CreatedAccountForeignLanguageMetadataResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountForeignLanguageMetadataCommand.cs │ │ │ │ │ ├── DeletedAccountForeignLanguageMetadataCommandValidator.cs │ │ │ │ │ └── DeletedAccountForeignLanguageMetadataResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountForeignLanguageMetadataCommand.cs │ │ │ │ │ ├── UpdateAccountForeignLanguageMetadataCommandValidator.cs │ │ │ │ │ └── UpdatedAccountForeignLanguageMetadataResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountForeignLanguageMetadatasBusinessMessages.cs │ │ │ │ └── AccountForeignLanguageMetadatasOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountForeignLanguageMetadataQuery.cs │ │ │ │ │ └── GetByIdAccountForeignLanguageMetadataResponse.cs │ │ │ │ ├── GetList │ │ │ │ │ ├── GetListAccountForeignLanguageMetadataListItemDto.cs │ │ │ │ │ └── GetListAccountForeignLanguageMetadataQuery.cs │ │ │ │ └── GetListByAccountId │ │ │ │ │ ├── GetListByAccountIdAccountForeignLanguageMetaDataListItemDto.cs │ │ │ │ │ └── GetListByAccountIdAccountForeignLanguageMetaDataQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountForeignLanguageMetadataBusinessRules.cs │ │ ├── AccountLearningPaths │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountLearningPathCommand.cs │ │ │ │ │ ├── CreateAccountLearningPathCommandValidator.cs │ │ │ │ │ └── CreatedAccountLearningPathResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountLearningPathCommand.cs │ │ │ │ │ ├── DeletedAccountLearningPathCommandValidator.cs │ │ │ │ │ └── DeletedAccountLearningPathResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountLearningPathCommand.cs │ │ │ │ │ ├── UpdateAccountLearningPathCommandValidator.cs │ │ │ │ │ ├── UpdateAccountLearningPathIsLiked │ │ │ │ │ └── UpdateAccountLearningPathIsLikedCommand.cs │ │ │ │ │ ├── UpdateAccountLearningPathIsSaved │ │ │ │ │ └── UpdateAccountLearningPathIsLikedCommand.cs │ │ │ │ │ ├── UpdateAccountLearningPathPercentComplete │ │ │ │ │ └── UpdateAccountLearningPathPercentCompleteCommand.cs │ │ │ │ │ └── UpdatedAccountLearningPathResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountLearningPathsBusinessMessages.cs │ │ │ │ └── AccountLearningPathsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetByAccountIdAndLearningPathId │ │ │ │ │ ├── GetByAccountIdAndLearningPathIdAccountLearningPathQuery.cs │ │ │ │ │ └── GetByAccountIdAndLearningPathIdAccountLearningPathResponse.cs │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountLearningPathQuery.cs │ │ │ │ │ └── GetByIdAccountLearningPathResponse.cs │ │ │ │ ├── GetList │ │ │ │ │ ├── GetListAccountLearningPathListItemDto.cs │ │ │ │ │ └── GetListAccountLearningPathQuery.cs │ │ │ │ ├── GetListByAccountId │ │ │ │ │ ├── GetListByAccountIdAccountLearningPathListItemDto.cs │ │ │ │ │ └── GetListByAccountIdAccountLearningPathQuery.cs │ │ │ │ ├── GetListByAccountIdAndLearningPathId │ │ │ │ │ ├── GetListByAccountIdAndLearningPathIdAccountLearningPathListItemDto.cs │ │ │ │ │ └── GetListByAccountIdAndLearningPathIdAccountLearningPathQuery.cs │ │ │ │ └── GetListByLearningPathId │ │ │ │ │ ├── GetListByLearningPathIdAccountLearningPathListItemDto.cs │ │ │ │ │ └── GetListByLearningPathIdAccountLearningPathQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountLearningPathBusinessRules.cs │ │ ├── AccountLessons │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountLessonCommand.cs │ │ │ │ │ ├── CreateAccountLessonCommandValidator.cs │ │ │ │ │ └── CreatedAccountLessonResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountLessonCommand.cs │ │ │ │ │ ├── DeletedAccountLessonCommandValidator.cs │ │ │ │ │ └── DeletedAccountLessonResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountLessonCommand.cs │ │ │ │ │ ├── UpdateAccountLessonCommandValidator.cs │ │ │ │ │ ├── UpdateAccountLessonIsComplete │ │ │ │ │ └── UpdateAccountLessonIsCompleteCommand.cs │ │ │ │ │ └── UpdatedAccountLessonResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountLessonsBusinessMessages.cs │ │ │ │ └── AccountLessonsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetByAccountIdAndLessonId │ │ │ │ │ ├── GetByAccountIdAndLessonIdAccountLessonQuery.cs │ │ │ │ │ └── GetByAccountIdAndLessonIdAccountLessonResponse.cs │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountLessonQuery.cs │ │ │ │ │ └── GetByIdAccountLessonResponse.cs │ │ │ │ ├── GetList │ │ │ │ │ ├── GetListAccountLessonListItemDto.cs │ │ │ │ │ └── GetListAccountLessonQuery.cs │ │ │ │ ├── GetListByAccountId │ │ │ │ │ ├── GetListByAccountIdAccountLessonListItemDto.cs │ │ │ │ │ └── GetListByAccountIdAccountLessonQuery.cs │ │ │ │ └── GetListByAccountIdAndLearningPathId │ │ │ │ │ ├── GetListByAccountIdLearningPathAccountLessonListItemDto.cs │ │ │ │ │ └── GetListByAccountIdLearningPathAccountLessonQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountLessonBusinessRules.cs │ │ ├── AccountRecourseDetails │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountRecourseDetailCommand.cs │ │ │ │ │ ├── CreateAccountRecourseDetailCommandValidator.cs │ │ │ │ │ └── CreatedAccountRecourseDetailResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountRecourseDetailCommand.cs │ │ │ │ │ ├── DeletedAccountRecourseDetailCommandValidator.cs │ │ │ │ │ └── DeletedAccountRecourseDetailResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountRecourseDetailCommand.cs │ │ │ │ │ ├── UpdateAccountRecourseDetailCommandValidator.cs │ │ │ │ │ └── UpdatedAccountRecourseDetailResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountRecourseDetailsBusinessMessages.cs │ │ │ │ └── AccountRecourseDetailsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountRecourseDetailQuery.cs │ │ │ │ │ └── GetByIdAccountRecourseDetailResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListAccountRecourseDetailListItemDto.cs │ │ │ │ │ └── GetListAccountRecourseDetailQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountRecourseDetailBusinessRules.cs │ │ ├── AccountRecourses │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountRecourseCommand.cs │ │ │ │ │ ├── CreateAccountRecourseCommandValidator.cs │ │ │ │ │ └── CreatedAccountRecourseResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountRecourseCommand.cs │ │ │ │ │ ├── DeletedAccountRecourseCommandValidator.cs │ │ │ │ │ └── DeletedAccountRecourseResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountRecourseCommand.cs │ │ │ │ │ ├── UpdateAccountRecourseCommandValidator.cs │ │ │ │ │ └── UpdatedAccountRecourseResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountRecoursesBusinessMessages.cs │ │ │ │ └── AccountRecoursesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountRecourseQuery.cs │ │ │ │ │ └── GetByIdAccountRecourseResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListAccountRecourseListItemDto.cs │ │ │ │ │ └── GetListAccountRecourseQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountRecourseBusinessRules.cs │ │ ├── AccountSocialMediaPlatforms │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountSocialMediaPlatformCommand.cs │ │ │ │ │ ├── CreateAccountSocialMediaPlatformCommandValidator.cs │ │ │ │ │ └── CreatedAccountSocialMediaPlatformResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountSocialMediaPlatformCommand.cs │ │ │ │ │ ├── DeletedAccountSocialMediaPlatformCommandValidator.cs │ │ │ │ │ └── DeletedAccountSocialMediaPlatformResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountSocialMediaPlatformCommand.cs │ │ │ │ │ ├── UpdateAccountSocialMediaPlatformCommandValidator.cs │ │ │ │ │ └── UpdatedAccountSocialMediaPlatformResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountSocialMediaPlatformsBusinessMessages.cs │ │ │ │ ├── AccountSocialMediaPlatformsBusinessRuleConstants.cs │ │ │ │ └── AccountSocialMediaPlatformsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountSocialMediaPlatformQuery.cs │ │ │ │ │ └── GetByIdAccountSocialMediaPlatformResponse.cs │ │ │ │ ├── GetList │ │ │ │ │ ├── GetListAccountSocialMediaPlatformListItemDto.cs │ │ │ │ │ └── GetListAccountSocialMediaPlatformQuery.cs │ │ │ │ └── GetListByAccountId │ │ │ │ │ ├── GetListByAccountIdAccountSocialMediaPlatformListItemDto.cs │ │ │ │ │ └── GetListByAccountIdAccountSocialMediaPlatformQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountSocialMediaPlatformBusinessRules.cs │ │ ├── Accounts │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAccountCommand.cs │ │ │ │ │ ├── CreateAccountCommandValidator.cs │ │ │ │ │ └── CreatedAccountResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAccountCommand.cs │ │ │ │ │ ├── DeletedAccountCommandValidator.cs │ │ │ │ │ └── DeletedAccountResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAccountCommand.cs │ │ │ │ │ ├── UpdateAccountCommandValidator.cs │ │ │ │ │ ├── UpdateAccountInformation │ │ │ │ │ └── UpdateAccountInformationCommand.cs │ │ │ │ │ └── UpdatedAccountResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AccountsBusinessMessages.cs │ │ │ │ ├── AccountsBusinessRuleConstants.cs │ │ │ │ └── AccountsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAccountQuery.cs │ │ │ │ │ └── GetByIdAccountResponse.cs │ │ │ │ ├── GetByUserId │ │ │ │ │ ├── GetByUserIdAccountQuery.cs │ │ │ │ │ └── GetByUserIdAccountResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListAccountListItemDto.cs │ │ │ │ │ └── GetListAccountQuery.cs │ │ │ └── Rules │ │ │ │ └── AccountBusinessRules.cs │ │ ├── Addresses │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAddressCommand.cs │ │ │ │ │ ├── CreateAddressCommandValidator.cs │ │ │ │ │ └── CreatedAddressResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAddressCommand.cs │ │ │ │ │ ├── DeletedAddressCommandValidator.cs │ │ │ │ │ └── DeletedAddressResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAddressCommand.cs │ │ │ │ │ ├── UpdateAddressCommandValidator.cs │ │ │ │ │ ├── UpdateAddressInformation │ │ │ │ │ └── UpdateAddressInformationCommand.cs │ │ │ │ │ └── UpdatedAddressResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AddressesBusinessMessages.cs │ │ │ │ └── AddressesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAddressQuery.cs │ │ │ │ │ └── GetByIdAddressResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListAddressListItemDto.cs │ │ │ │ │ └── GetListAddressQuery.cs │ │ │ └── Rules │ │ │ │ └── AddressBusinessRules.cs │ │ ├── AnnouncementTypes │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAnnouncementTypeCommand.cs │ │ │ │ │ ├── CreateAnnouncementTypeCommandValidator.cs │ │ │ │ │ └── CreatedAnnouncementTypeResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAnnouncementTypeCommand.cs │ │ │ │ │ ├── DeletedAnnouncementTypeCommandValidator.cs │ │ │ │ │ └── DeletedAnnouncementTypeResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAnnouncementTypeCommand.cs │ │ │ │ │ ├── UpdateAnnouncementTypeCommandValidator.cs │ │ │ │ │ └── UpdatedAnnouncementTypeResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AnnouncementTypesBusinessMessages.cs │ │ │ │ └── AnnouncementTypesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAnnouncementTypeQuery.cs │ │ │ │ │ └── GetByIdAnnouncementTypeResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListAnnouncementTypeListItemDto.cs │ │ │ │ │ └── GetListAnnouncementTypeQuery.cs │ │ │ └── Rules │ │ │ │ └── AnnouncementTypeBusinessRules.cs │ │ ├── Announcements │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAnnouncementCommand.cs │ │ │ │ │ ├── CreateAnnouncementCommandValidator.cs │ │ │ │ │ └── CreatedAnnouncementResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAnnouncementCommand.cs │ │ │ │ │ ├── DeletedAnnouncementCommandValidator.cs │ │ │ │ │ └── DeletedAnnouncementResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAnnouncementCommand.cs │ │ │ │ │ ├── UpdateAnnouncementCommandValidator.cs │ │ │ │ │ └── UpdatedAnnouncementResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AnnouncementsBusinessMessages.cs │ │ │ │ └── AnnouncementsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAnnouncementQuery.cs │ │ │ │ │ └── GetByIdAnnouncementResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListAnnouncementListItemDto.cs │ │ │ │ │ └── GetListAnnouncementQuery.cs │ │ │ └── Rules │ │ │ │ └── AnnouncementBusinessRules.cs │ │ ├── Answers │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateAnswerCommand.cs │ │ │ │ │ ├── CreateAnswerCommandValidator.cs │ │ │ │ │ └── CreatedAnswerResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteAnswerCommand.cs │ │ │ │ │ ├── DeletedAnswerCommandValidator.cs │ │ │ │ │ └── DeletedAnswerResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateAnswerCommand.cs │ │ │ │ │ ├── UpdateAnswerCommandValidator.cs │ │ │ │ │ └── UpdatedAnswerResponse.cs │ │ │ ├── Constants │ │ │ │ ├── AnswersBusinessMessages.cs │ │ │ │ └── AnswersOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdAnswerQuery.cs │ │ │ │ │ └── GetByIdAnswerResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListAnswerListItemDto.cs │ │ │ │ │ └── GetListAnswerQuery.cs │ │ │ └── Rules │ │ │ │ └── AnswerBusinessRules.cs │ │ ├── Auth │ │ │ ├── Commands │ │ │ │ ├── EnableEmailAuthenticator │ │ │ │ │ └── EnableEmailAuthenticatorCommand.cs │ │ │ │ ├── EnableOtpAuthenticator │ │ │ │ │ ├── EnableOtpAuthenticatorCommand.cs │ │ │ │ │ └── EnabledOtpAuthenticatorResponse.cs │ │ │ │ ├── Login │ │ │ │ │ ├── LoggedResponse.cs │ │ │ │ │ ├── LoginCommand.cs │ │ │ │ │ └── LoginCommandValidator.cs │ │ │ │ ├── RefreshToken │ │ │ │ │ ├── RefreshTokenCommand.cs │ │ │ │ │ └── RefreshedTokensResponse.cs │ │ │ │ ├── Register │ │ │ │ │ ├── RegisterCommand.cs │ │ │ │ │ ├── RegisterCommandValidator.cs │ │ │ │ │ └── RegisteredResponse.cs │ │ │ │ ├── RevokeToken │ │ │ │ │ ├── RevokeTokenCommand.cs │ │ │ │ │ └── RevokedTokenResponse.cs │ │ │ │ ├── VerifyEmailAuthenticator │ │ │ │ │ └── VerifyEmailAuthenticatorCommand.cs │ │ │ │ └── VerifyOtpAuthenticator │ │ │ │ │ └── VerifyOtpAuthenticatorCommand.cs │ │ │ ├── Constants │ │ │ │ ├── AccountsFieldConstants.cs │ │ │ │ ├── AddressConstants.cs │ │ │ │ ├── AuthMessages.cs │ │ │ │ └── AuthOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ └── Rules │ │ │ │ └── AuthBusinessRules.cs │ │ ├── Capabilities │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateCapabilityCommand.cs │ │ │ │ │ ├── CreateCapabilityCommandValidator.cs │ │ │ │ │ └── CreatedCapabilityResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteCapabilityCommand.cs │ │ │ │ │ ├── DeletedCapabilityCommandValidator.cs │ │ │ │ │ └── DeletedCapabilityResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateCapabilityCommand.cs │ │ │ │ │ ├── UpdateCapabilityCommandValidator.cs │ │ │ │ │ └── UpdatedCapabilityResponse.cs │ │ │ ├── Constants │ │ │ │ ├── CapabilitiesBusinessMessages.cs │ │ │ │ └── CapabilitiesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdCapabilityQuery.cs │ │ │ │ │ └── GetByIdCapabilityResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListCapabilityListItemDto.cs │ │ │ │ │ └── GetListCapabilityQuery.cs │ │ │ └── Rules │ │ │ │ └── CapabilityBusinessRules.cs │ │ ├── Certificates │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateCertificateCommand.cs │ │ │ │ │ ├── CreateCertificateCommandValidator.cs │ │ │ │ │ └── CreatedCertificateResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteCertificateCommand.cs │ │ │ │ │ ├── DeletedCertificateCommandValidator.cs │ │ │ │ │ └── DeletedCertificateResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateCertificateCommand.cs │ │ │ │ │ ├── UpdateCertificateCommandValidator.cs │ │ │ │ │ └── UpdatedCertificateResponse.cs │ │ │ ├── Constants │ │ │ │ ├── CertificatesBusinessMessages.cs │ │ │ │ └── CertificatesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdCertificateQuery.cs │ │ │ │ │ └── GetByIdCertificateResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListCertificateListItemDto.cs │ │ │ │ │ └── GetListCertificateQuery.cs │ │ │ └── Rules │ │ │ │ └── CertificateBusinessRules.cs │ │ ├── Cities │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateCityCommand.cs │ │ │ │ │ ├── CreateCityCommandValidator.cs │ │ │ │ │ └── CreatedCityResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteCityCommand.cs │ │ │ │ │ ├── DeletedCityCommandValidator.cs │ │ │ │ │ └── DeletedCityResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateCityCommand.cs │ │ │ │ │ ├── UpdateCityCommandValidator.cs │ │ │ │ │ └── UpdatedCityResponse.cs │ │ │ ├── Constants │ │ │ │ ├── CitiesBusinessMessages.cs │ │ │ │ └── CitiesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdCityQuery.cs │ │ │ │ │ └── GetByIdCityResponse.cs │ │ │ │ ├── GetList │ │ │ │ │ ├── GetListCityListItemDto.cs │ │ │ │ │ └── GetListCityQuery.cs │ │ │ │ └── GetListByCountryId │ │ │ │ │ ├── GetListByCountryIdCityListItemDto.cs │ │ │ │ │ └── GetListByCountryIdCityQuery.cs │ │ │ └── Rules │ │ │ │ └── CityBusinessRules.cs │ │ ├── ClassroomExams │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateClassroomExamCommand.cs │ │ │ │ │ ├── CreateClassroomExamCommandValidator.cs │ │ │ │ │ └── CreatedClassroomExamResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteClassroomExamCommand.cs │ │ │ │ │ ├── DeletedClassroomExamCommandValidator.cs │ │ │ │ │ └── DeletedClassroomExamResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateClassroomExamCommand.cs │ │ │ │ │ ├── UpdateClassroomExamCommandValidator.cs │ │ │ │ │ └── UpdatedClassroomExamResponse.cs │ │ │ ├── Constants │ │ │ │ ├── ClassroomExamsBusinessMessages.cs │ │ │ │ └── ClassroomExamsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdClassroomExamQuery.cs │ │ │ │ │ └── GetByIdClassroomExamResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListClassroomExamListItemDto.cs │ │ │ │ │ └── GetListClassroomExamQuery.cs │ │ │ └── Rules │ │ │ │ └── ClassroomExamBusinessRules.cs │ │ ├── Classrooms │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateClassroomCommand.cs │ │ │ │ │ ├── CreateClassroomCommandValidator.cs │ │ │ │ │ └── CreatedClassroomResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteClassroomCommand.cs │ │ │ │ │ ├── DeletedClassroomCommandValidator.cs │ │ │ │ │ └── DeletedClassroomResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateClassroomCommand.cs │ │ │ │ │ ├── UpdateClassroomCommandValidator.cs │ │ │ │ │ └── UpdatedClassroomResponse.cs │ │ │ ├── Constants │ │ │ │ ├── ClassroomsBusinessMessages.cs │ │ │ │ └── ClassroomsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdClassroomQuery.cs │ │ │ │ │ └── GetByIdClassroomResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListClassroomListItemDto.cs │ │ │ │ │ └── GetListClassroomQuery.cs │ │ │ └── Rules │ │ │ │ └── ClassroomBusinessRules.cs │ │ ├── Colleges │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateCollegeCommand.cs │ │ │ │ │ ├── CreateCollegeCommandValidator.cs │ │ │ │ │ └── CreatedCollegeResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteCollegeCommand.cs │ │ │ │ │ ├── DeletedCollegeCommandValidator.cs │ │ │ │ │ └── DeletedCollegeResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateCollegeCommand.cs │ │ │ │ │ ├── UpdateCollegeCommandValidator.cs │ │ │ │ │ └── UpdatedCollegeResponse.cs │ │ │ ├── Constants │ │ │ │ ├── CollegesBusinessMessages.cs │ │ │ │ └── CollegesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdCollegeQuery.cs │ │ │ │ │ └── GetByIdCollegeResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListCollegeListItemDto.cs │ │ │ │ │ └── GetListCollegeQuery.cs │ │ │ └── Rules │ │ │ │ └── CollegeBusinessRules.cs │ │ ├── ContractTypes │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateContractTypeCommand.cs │ │ │ │ │ ├── CreateContractTypeCommandValidator.cs │ │ │ │ │ └── CreatedContractTypeResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteContractTypeCommand.cs │ │ │ │ │ ├── DeletedContractTypeCommandValidator.cs │ │ │ │ │ └── DeletedContractTypeResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateContractTypeCommand.cs │ │ │ │ │ ├── UpdateContractTypeCommandValidator.cs │ │ │ │ │ └── UpdatedContractTypeResponse.cs │ │ │ ├── Constants │ │ │ │ ├── ContractTypesBusinessMessages.cs │ │ │ │ └── ContractTypesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdContractTypeQuery.cs │ │ │ │ │ └── GetByIdContractTypeResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListContractTypeListItemDto.cs │ │ │ │ │ └── GetListContractTypeQuery.cs │ │ │ └── Rules │ │ │ │ └── ContractTypeBusinessRules.cs │ │ ├── Contracts │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateContractCommand.cs │ │ │ │ │ ├── CreateContractCommandValidator.cs │ │ │ │ │ └── CreatedContractResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteContractCommand.cs │ │ │ │ │ ├── DeletedContractCommandValidator.cs │ │ │ │ │ └── DeletedContractResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateContractCommand.cs │ │ │ │ │ ├── UpdateContractCommandValidator.cs │ │ │ │ │ └── UpdatedContractResponse.cs │ │ │ ├── Constants │ │ │ │ ├── ContractsBusinessMessages.cs │ │ │ │ └── ContractsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdContractQuery.cs │ │ │ │ │ └── GetByIdContractResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListContractListItemDto.cs │ │ │ │ │ └── GetListContractQuery.cs │ │ │ └── Rules │ │ │ │ └── ContractBusinessRules.cs │ │ ├── Countries │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateCountryCommand.cs │ │ │ │ │ ├── CreateCountryCommandValidator.cs │ │ │ │ │ └── CreatedCountryResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteCountryCommand.cs │ │ │ │ │ ├── DeletedCountryCommandValidator.cs │ │ │ │ │ └── DeletedCountryResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateCountryCommand.cs │ │ │ │ │ ├── UpdateCountryCommandValidator.cs │ │ │ │ │ └── UpdatedCountryResponse.cs │ │ │ ├── Constants │ │ │ │ ├── CountriesBusinessMessages.cs │ │ │ │ └── CountriesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdCountryQuery.cs │ │ │ │ │ └── GetByIdCountryResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListCountryListItemDto.cs │ │ │ │ │ └── GetListCountryQuery.cs │ │ │ └── Rules │ │ │ │ └── CountryBusinessRules.cs │ │ ├── CourseCategories │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateCourseCategoryCommand.cs │ │ │ │ │ ├── CreateCourseCategoryCommandValidator.cs │ │ │ │ │ └── CreatedCourseCategoryResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteCourseCategoryCommand.cs │ │ │ │ │ ├── DeletedCourseCategoryCommandValidator.cs │ │ │ │ │ └── DeletedCourseCategoryResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateCourseCategoryCommand.cs │ │ │ │ │ ├── UpdateCourseCategoryCommandValidator.cs │ │ │ │ │ └── UpdatedCourseCategoryResponse.cs │ │ │ ├── Constants │ │ │ │ ├── CourseCategoriesBusinessMessages.cs │ │ │ │ └── CourseCategoriesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdCourseCategoryQuery.cs │ │ │ │ │ └── GetByIdCourseCategoryResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListCourseCategoryListItemDto.cs │ │ │ │ │ └── GetListCourseCategoryQuery.cs │ │ │ └── Rules │ │ │ │ └── CourseCategoryBusinessRules.cs │ │ ├── CourseLearningPaths │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateCourseLearningPathCommand.cs │ │ │ │ │ ├── CreateCourseLearningPathCommandValidator.cs │ │ │ │ │ └── CreatedCourseLearningPathResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteCourseLearningPathCommand.cs │ │ │ │ │ ├── DeletedCourseLearningPathCommandValidator.cs │ │ │ │ │ └── DeletedCourseLearningPathResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateCourseLearningPathCommand.cs │ │ │ │ │ ├── UpdateCourseLearningPathCommandValidator.cs │ │ │ │ │ └── UpdatedCourseLearningPathResponse.cs │ │ │ ├── Constants │ │ │ │ ├── CourseLearningPathsBusinessMessages.cs │ │ │ │ └── CourseLearningPathsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdCourseLearningPathQuery.cs │ │ │ │ │ └── GetByIdCourseLearningPathResponse.cs │ │ │ │ ├── GetList │ │ │ │ │ ├── GetListCourseLearningPathListItemDto.cs │ │ │ │ │ └── GetListCourseLearningPathQuery.cs │ │ │ │ └── GetListByLearningPathId │ │ │ │ │ ├── GetListByLearningPathIdCourseLearningPathListItemDto.cs │ │ │ │ │ └── GetListByLearningPathIdCourseLearningPathQuery.cs │ │ │ └── Rules │ │ │ │ └── CourseLearningPathBusinessRules.cs │ │ ├── Courses │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateCourseCommand.cs │ │ │ │ │ ├── CreateCourseCommandValidator.cs │ │ │ │ │ └── CreatedCourseResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteCourseCommand.cs │ │ │ │ │ ├── DeletedCourseCommandValidator.cs │ │ │ │ │ └── DeletedCourseResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateCourseCommand.cs │ │ │ │ │ ├── UpdateCourseCommandValidator.cs │ │ │ │ │ └── UpdatedCourseResponse.cs │ │ │ ├── Constants │ │ │ │ ├── CoursesBusinessMessages.cs │ │ │ │ └── CoursesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdCourseQuery.cs │ │ │ │ │ └── GetByIdCourseResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListCourseListItemDto.cs │ │ │ │ │ └── GetListCourseQuery.cs │ │ │ └── Rules │ │ │ │ └── CourseBusinessRules.cs │ │ ├── Districts │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateDistrictCommand.cs │ │ │ │ │ ├── CreateDistrictCommandValidator.cs │ │ │ │ │ └── CreatedDistrictResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteDistrictCommand.cs │ │ │ │ │ ├── DeletedDistrictCommandValidator.cs │ │ │ │ │ └── DeletedDistrictResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateDistrictCommand.cs │ │ │ │ │ ├── UpdateDistrictCommandValidator.cs │ │ │ │ │ └── UpdatedDistrictResponse.cs │ │ │ ├── Constants │ │ │ │ ├── DistrictsBusinessMessages.cs │ │ │ │ └── DistrictsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdDistrictQuery.cs │ │ │ │ │ └── GetByIdDistrictResponse.cs │ │ │ │ ├── GetList │ │ │ │ │ ├── GetListDistrictListItemDto.cs │ │ │ │ │ └── GetListDistrictQuery.cs │ │ │ │ └── GetListByCityId │ │ │ │ │ ├── GetListByCityIdDistrictListItemDto.cs │ │ │ │ │ └── GetListByCityIdDistrictQuery.cs │ │ │ └── Rules │ │ │ │ └── DistrictBusinessRules.cs │ │ ├── EducationPrograms │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateEducationProgramCommand.cs │ │ │ │ │ ├── CreateEducationProgramCommandValidator.cs │ │ │ │ │ └── CreatedEducationProgramResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteEducationProgramCommand.cs │ │ │ │ │ ├── DeletedEducationProgramCommandValidator.cs │ │ │ │ │ └── DeletedEducationProgramResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateEducationProgramCommand.cs │ │ │ │ │ ├── UpdateEducationProgramCommandValidator.cs │ │ │ │ │ └── UpdatedEducationProgramResponse.cs │ │ │ ├── Constants │ │ │ │ ├── EducationProgramsBusinessMessages.cs │ │ │ │ └── EducationProgramsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdEducationProgramQuery.cs │ │ │ │ │ └── GetByIdEducationProgramResponse.cs │ │ │ │ ├── GetList │ │ │ │ │ ├── GetListEducationProgramListItemDto.cs │ │ │ │ │ └── GetListEducationProgramQuery.cs │ │ │ │ └── GetListByCollegeId │ │ │ │ │ ├── GetListByCollegeIdEducationProgramListItemDto.cs │ │ │ │ │ └── GetListByCollegeIdEducationProgramQuery.cs │ │ │ └── Rules │ │ │ │ └── EducationProgramBusinessRules.cs │ │ ├── ExamQuestions │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateExamQuestionCommand.cs │ │ │ │ │ ├── CreateExamQuestionCommandValidator.cs │ │ │ │ │ └── CreatedExamQuestionResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteExamQuestionCommand.cs │ │ │ │ │ ├── DeletedExamQuestionCommandValidator.cs │ │ │ │ │ └── DeletedExamQuestionResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateExamQuestionCommand.cs │ │ │ │ │ ├── UpdateExamQuestionCommandValidator.cs │ │ │ │ │ └── UpdatedExamQuestionResponse.cs │ │ │ ├── Constants │ │ │ │ ├── ExamQuestionBusinessRuleConstants.cs │ │ │ │ ├── ExamQuestionsBusinessMessages.cs │ │ │ │ └── ExamQuestionsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdExamQuestionQuery.cs │ │ │ │ │ └── GetByIdExamQuestionResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListExamQuestionListItemDto.cs │ │ │ │ │ └── GetListExamQuestionQuery.cs │ │ │ └── Rules │ │ │ │ └── ExamQuestionBusinessRules.cs │ │ ├── Exams │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateExamCommand.cs │ │ │ │ │ ├── CreateExamCommandValidator.cs │ │ │ │ │ └── CreatedExamResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteExamCommand.cs │ │ │ │ │ ├── DeletedExamCommandValidator.cs │ │ │ │ │ └── DeletedExamResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateExamCommand.cs │ │ │ │ │ ├── UpdateExamCommandValidator.cs │ │ │ │ │ └── UpdatedExamResponse.cs │ │ │ ├── Constants │ │ │ │ ├── ExamsBusinessMessages.cs │ │ │ │ └── ExamsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdExamQuery.cs │ │ │ │ │ └── GetByIdExamResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListExamListItemDto.cs │ │ │ │ │ └── GetListExamQuery.cs │ │ │ └── Rules │ │ │ │ └── ExamBusinessRules.cs │ │ ├── Experiences │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateExperienceCommand.cs │ │ │ │ │ ├── CreateExperienceCommandValidator.cs │ │ │ │ │ └── CreatedExperienceResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteExperienceCommand.cs │ │ │ │ │ ├── DeletedExperienceCommandValidator.cs │ │ │ │ │ └── DeletedExperienceResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateExperienceCommand.cs │ │ │ │ │ ├── UpdateExperienceCommandValidator.cs │ │ │ │ │ └── UpdatedExperienceResponse.cs │ │ │ ├── Constants │ │ │ │ ├── ExperiencesBusinessMessages.cs │ │ │ │ └── ExperiencesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdExperienceQuery.cs │ │ │ │ │ └── GetByIdExperienceResponse.cs │ │ │ │ ├── GetList │ │ │ │ │ ├── GetListExperienceListItemDto.cs │ │ │ │ │ └── GetListExperienceQuery.cs │ │ │ │ └── GetListByAccountId │ │ │ │ │ ├── GetListByAccountIdExperienceListItemDto.cs │ │ │ │ │ └── GetListByAccountIdExperienceQuery.cs │ │ │ └── Rules │ │ │ │ └── ExperienceBusinessRules.cs │ │ ├── ForeignLanguageLevels │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateForeignLanguageLevelCommand.cs │ │ │ │ │ ├── CreateForeignLanguageLevelCommandValidator.cs │ │ │ │ │ └── CreatedForeignLanguageLevelResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteForeignLanguageLevelCommand.cs │ │ │ │ │ ├── DeletedForeignLanguageLevelCommandValidator.cs │ │ │ │ │ └── DeletedForeignLanguageLevelResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateForeignLanguageLevelCommand.cs │ │ │ │ │ ├── UpdateForeignLanguageLevelCommandValidator.cs │ │ │ │ │ └── UpdatedForeignLanguageLevelResponse.cs │ │ │ ├── Constants │ │ │ │ ├── ForeignLanguageLevelsBusinessMessages.cs │ │ │ │ └── ForeignLanguageLevelsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdForeignLanguageLevelQuery.cs │ │ │ │ │ └── GetByIdForeignLanguageLevelResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListForeignLanguageLevelListItemDto.cs │ │ │ │ │ └── GetListForeignLanguageLevelQuery.cs │ │ │ └── Rules │ │ │ │ └── ForeignLanguageLevelBusinessRules.cs │ │ ├── ForeignLanguages │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateForeignLanguageCommand.cs │ │ │ │ │ ├── CreateForeignLanguageCommandValidator.cs │ │ │ │ │ └── CreatedForeignLanguageResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteForeignLanguageCommand.cs │ │ │ │ │ ├── DeletedForeignLanguageCommandValidator.cs │ │ │ │ │ └── DeletedForeignLanguageResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateForeignLanguageCommand.cs │ │ │ │ │ ├── UpdateForeignLanguageCommandValidator.cs │ │ │ │ │ └── UpdatedForeignLanguageResponse.cs │ │ │ ├── Constants │ │ │ │ ├── ForeignLanguagesBusinessMessages.cs │ │ │ │ └── ForeignLanguagesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdForeignLanguageQuery.cs │ │ │ │ │ └── GetByIdForeignLanguageResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListForeignLanguageListItemDto.cs │ │ │ │ │ └── GetListForeignLanguageQuery.cs │ │ │ └── Rules │ │ │ │ └── ForeignLanguageBusinessRules.cs │ │ ├── GraduationStatuses │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateGraduationStatusCommand.cs │ │ │ │ │ ├── CreateGraduationStatusCommandValidator.cs │ │ │ │ │ └── CreatedGraduationStatusResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteGraduationStatusCommand.cs │ │ │ │ │ ├── DeletedGraduationStatusCommandValidator.cs │ │ │ │ │ └── DeletedGraduationStatusResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateGraduationStatusCommand.cs │ │ │ │ │ ├── UpdateGraduationStatusCommandValidator.cs │ │ │ │ │ └── UpdatedGraduationStatusResponse.cs │ │ │ ├── Constants │ │ │ │ ├── GraduationStatusOperationClaims.cs │ │ │ │ └── GraduationStatusesBusinessMessages.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdGraduationStatusQuery.cs │ │ │ │ │ └── GetByIdGraduationStatusResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListGraduationStatusListItemDto.cs │ │ │ │ │ └── GetListGraduationStatusQuery.cs │ │ │ └── Rules │ │ │ │ └── GraduationStatusBusinessRules.cs │ │ ├── ImageExtensions │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateImageExtensionCommand.cs │ │ │ │ │ ├── CreateImageExtensionCommandValidator.cs │ │ │ │ │ └── CreatedImageExtensionResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteImageExtensionCommand.cs │ │ │ │ │ ├── DeletedImageExtensionCommandValidator.cs │ │ │ │ │ └── DeletedImageExtensionResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateImageExtensionCommand.cs │ │ │ │ │ ├── UpdateImageExtensionCommandValidator.cs │ │ │ │ │ └── UpdatedImageExtensionResponse.cs │ │ │ ├── Constants │ │ │ │ ├── ImageExtensionsBusinessMessages.cs │ │ │ │ └── ImageExtensionsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdImageExtensionQuery.cs │ │ │ │ │ └── GetByIdImageExtensionResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListImageExtensionListItemDto.cs │ │ │ │ │ └── GetListImageExtensionQuery.cs │ │ │ └── Rules │ │ │ │ └── ImageExtensionBusinessRules.cs │ │ ├── Images │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateImageCommand.cs │ │ │ │ │ ├── CreateImageCommandValidator.cs │ │ │ │ │ └── CreatedImageResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteImageCommand.cs │ │ │ │ │ ├── DeletedImageCommandValidator.cs │ │ │ │ │ └── DeletedImageResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateImageCommand.cs │ │ │ │ │ ├── UpdateImageCommandValidator.cs │ │ │ │ │ └── UpdatedImageResponse.cs │ │ │ ├── Constants │ │ │ │ ├── ImagesBusinessMessages.cs │ │ │ │ └── ImagesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdImageQuery.cs │ │ │ │ │ └── GetByIdImageResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListImageListItemDto.cs │ │ │ │ │ └── GetListImageQuery.cs │ │ │ └── Rules │ │ │ │ └── ImageBusinessRules.cs │ │ ├── LearningPathCategories │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateLearningPathCategoryCommand.cs │ │ │ │ │ ├── CreateLearningPathCategoryCommandValidator.cs │ │ │ │ │ └── CreatedLearningPathCategoryResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteLearningPathCategoryCommand.cs │ │ │ │ │ ├── DeletedLearningPathCategoryCommandValidator.cs │ │ │ │ │ └── DeletedLearningPathCategoryResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateLearningPathCategoryCommand.cs │ │ │ │ │ ├── UpdateLearningPathCategoryCommandValidator.cs │ │ │ │ │ └── UpdatedLearningPathCategoryResponse.cs │ │ │ ├── Constants │ │ │ │ ├── LearningPathCategoriesBusinessMessages.cs │ │ │ │ └── LearningPathCategoriesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdLearningPathCategoryQuery.cs │ │ │ │ │ └── GetByIdLearningPathCategoryResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListLearningPathCategoryListItemDto.cs │ │ │ │ │ └── GetListLearningPathCategoryQuery.cs │ │ │ └── Rules │ │ │ │ └── LearningPathCategoryBusinessRules.cs │ │ ├── LearningPaths │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateLearningPathCommand.cs │ │ │ │ │ ├── CreateLearningPathCommandValidator.cs │ │ │ │ │ └── CreatedLearningPathResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteLearningPathCommand.cs │ │ │ │ │ ├── DeletedLearningPathCommandValidator.cs │ │ │ │ │ └── DeletedLearningPathResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateLearningPathCommand.cs │ │ │ │ │ ├── UpdateLearningPathCommandValidator.cs │ │ │ │ │ └── UpdatedLearningPathResponse.cs │ │ │ ├── Constants │ │ │ │ ├── LearningPathsBusinessMessages.cs │ │ │ │ └── LearningPathsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdLearningPathQuery.cs │ │ │ │ │ └── GetByIdLearningPathResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListLearningPathListItemDto.cs │ │ │ │ │ └── GetListLearningPathQuery.cs │ │ │ └── Rules │ │ │ │ └── LearningPathBusinessRules.cs │ │ ├── Lessons │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateLessonCommand.cs │ │ │ │ │ ├── CreateLessonCommandValidator.cs │ │ │ │ │ └── CreatedLessonResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteLessonCommand.cs │ │ │ │ │ ├── DeletedLessonCommandValidator.cs │ │ │ │ │ └── DeletedLessonResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateLessonCommand.cs │ │ │ │ │ ├── UpdateLessonCommandValidator.cs │ │ │ │ │ ├── UpdateLessonDuration │ │ │ │ │ └── UpdateLessonDurationCommand.cs │ │ │ │ │ └── UpdatedLessonResponse.cs │ │ │ ├── Constants │ │ │ │ ├── LessonsBusinessMessages.cs │ │ │ │ └── LessonsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdLessonQuery.cs │ │ │ │ │ └── GetByIdLessonResponse.cs │ │ │ │ ├── GetList │ │ │ │ │ ├── GetListLessonListItemDto.cs │ │ │ │ │ └── GetListLessonQuery.cs │ │ │ │ └── GetListByCourseId │ │ │ │ │ ├── GetListByCourseIdLessonListItemDto.cs │ │ │ │ │ └── GetListByCourseIdLessonQuery.cs │ │ │ └── Rules │ │ │ │ └── LessonBusinessRules.cs │ │ ├── OperationClaims │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateOperationClaimCommand.cs │ │ │ │ │ ├── CreateOperationClaimCommandValidator.cs │ │ │ │ │ └── CreatedOperationClaimResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteOperationClaimCommand.cs │ │ │ │ │ └── DeletedOperationClaimResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateOperationClaimCommand.cs │ │ │ │ │ ├── UpdateOperationClaimCommandValidator.cs │ │ │ │ │ └── UpdatedOperationClaimResponse.cs │ │ │ ├── Constants │ │ │ │ ├── GeneralOperationClaims.cs │ │ │ │ ├── OperationClaimsMessages.cs │ │ │ │ └── OperationClaimsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdOperationClaimQuery.cs │ │ │ │ │ └── GetByIdOperationClaimResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListOperationClaimListItemDto.cs │ │ │ │ │ └── GetListOperationClaimQuery.cs │ │ │ └── Rules │ │ │ │ └── OperationClaimBusinessRules.cs │ │ ├── OrganizationTypes │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateOrganizationTypeCommand.cs │ │ │ │ │ ├── CreateOrganizationTypeCommandValidator.cs │ │ │ │ │ └── CreatedOrganizationTypeResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteOrganizationTypeCommand.cs │ │ │ │ │ ├── DeletedOrganizationTypeCommandValidator.cs │ │ │ │ │ └── DeletedOrganizationTypeResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateOrganizationTypeCommand.cs │ │ │ │ │ ├── UpdateOrganizationTypeCommandValidator.cs │ │ │ │ │ └── UpdatedOrganizationTypeResponse.cs │ │ │ ├── Constants │ │ │ │ ├── OrganizationTypesBusinessMessages.cs │ │ │ │ └── OrganizationTypesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdOrganizationTypeQuery.cs │ │ │ │ │ └── GetByIdOrganizationTypeResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListOrganizationTypeListItemDto.cs │ │ │ │ │ └── GetListOrganizationTypeQuery.cs │ │ │ └── Rules │ │ │ │ └── OrganizationTypeBusinessRules.cs │ │ ├── Organizations │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateOrganizationCommand.cs │ │ │ │ │ ├── CreateOrganizationCommandValidator.cs │ │ │ │ │ └── CreatedOrganizationResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteOrganizationCommand.cs │ │ │ │ │ ├── DeletedOrganizationCommandValidator.cs │ │ │ │ │ └── DeletedOrganizationResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateOrganizationCommand.cs │ │ │ │ │ ├── UpdateOrganizationCommandValidator.cs │ │ │ │ │ └── UpdatedOrganizationResponse.cs │ │ │ ├── Constants │ │ │ │ ├── OrganizationsBusinessMessages.cs │ │ │ │ └── OrganizationsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdOrganizationQuery.cs │ │ │ │ │ └── GetByIdOrganizationResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListOrganizationListItemDto.cs │ │ │ │ │ └── GetListOrganizationQuery.cs │ │ │ └── Rules │ │ │ │ └── OrganizationBusinessRules.cs │ │ ├── QuestionCategories │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateQuestionCategoryCommand.cs │ │ │ │ │ ├── CreateQuestionCategoryCommandValidator.cs │ │ │ │ │ └── CreatedQuestionCategoryResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteQuestionCategoryCommand.cs │ │ │ │ │ ├── DeletedQuestionCategoryCommandValidator.cs │ │ │ │ │ └── DeletedQuestionCategoryResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateQuestionCategoryCommand.cs │ │ │ │ │ ├── UpdateQuestionCategoryCommandValidator.cs │ │ │ │ │ └── UpdatedQuestionCategoryResponse.cs │ │ │ ├── Constants │ │ │ │ ├── QuestionCategoriesBusinessMessages.cs │ │ │ │ └── QuestionCategoriesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdQuestionCategoryQuery.cs │ │ │ │ │ └── GetByIdQuestionCategoryResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListQuestionCategoryListItemDto.cs │ │ │ │ │ └── GetListQuestionCategoryQuery.cs │ │ │ └── Rules │ │ │ │ └── QuestionCategoryBusinessRules.cs │ │ ├── Questions │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateQuestionCommand.cs │ │ │ │ │ ├── CreateQuestionCommandValidator.cs │ │ │ │ │ └── CreatedQuestionResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteQuestionCommand.cs │ │ │ │ │ ├── DeletedQuestionCommandValidator.cs │ │ │ │ │ └── DeletedQuestionResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateQuestionCommand.cs │ │ │ │ │ ├── UpdateQuestionCommandValidator.cs │ │ │ │ │ └── UpdatedQuestionResponse.cs │ │ │ ├── Constants │ │ │ │ ├── QuestionsBusinessMessages.cs │ │ │ │ └── QuestionsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdQuestionQuery.cs │ │ │ │ │ └── GetByIdQuestionResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListQuestionListItemDto.cs │ │ │ │ │ └── GetListQuestionQuery.cs │ │ │ └── Rules │ │ │ │ └── QuestionBusinessRules.cs │ │ ├── RecourseDetailSteps │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateRecourseDetailStepCommand.cs │ │ │ │ │ ├── CreateRecourseDetailStepCommandValidator.cs │ │ │ │ │ └── CreatedRecourseDetailStepResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteRecourseDetailStepCommand.cs │ │ │ │ │ ├── DeletedRecourseDetailStepCommandValidator.cs │ │ │ │ │ └── DeletedRecourseDetailStepResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateRecourseDetailStepCommand.cs │ │ │ │ │ ├── UpdateRecourseDetailStepCommandValidator.cs │ │ │ │ │ └── UpdatedRecourseDetailStepResponse.cs │ │ │ ├── Constants │ │ │ │ ├── RecourseDetailStepsBusinessMessages.cs │ │ │ │ └── RecourseDetailStepsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdRecourseDetailStepQuery.cs │ │ │ │ │ └── GetByIdRecourseDetailStepResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListRecourseDetailStepListItemDto.cs │ │ │ │ │ └── GetListRecourseDetailStepQuery.cs │ │ │ └── Rules │ │ │ │ └── RecourseDetailStepBusinessRules.cs │ │ ├── RecourseDetails │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateRecourseDetailCommand.cs │ │ │ │ │ ├── CreateRecourseDetailCommandValidator.cs │ │ │ │ │ └── CreatedRecourseDetailResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteRecourseDetailCommand.cs │ │ │ │ │ ├── DeletedRecourseDetailCommandValidator.cs │ │ │ │ │ └── DeletedRecourseDetailResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateRecourseDetailCommand.cs │ │ │ │ │ ├── UpdateRecourseDetailCommandValidator.cs │ │ │ │ │ └── UpdatedRecourseDetailResponse.cs │ │ │ ├── Constants │ │ │ │ ├── RecourseDetailsBusinessMessages.cs │ │ │ │ └── RecourseDetailsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdRecourseDetailQuery.cs │ │ │ │ │ └── GetByIdRecourseDetailResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListRecourseDetailListItemDto.cs │ │ │ │ │ └── GetListRecourseDetailQuery.cs │ │ │ └── Rules │ │ │ │ └── RecourseDetailBusinessRules.cs │ │ ├── RecourseSteps │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateRecourseStepCommand.cs │ │ │ │ │ ├── CreateRecourseStepCommandValidator.cs │ │ │ │ │ └── CreatedRecourseStepResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteRecourseStepCommand.cs │ │ │ │ │ ├── DeletedRecourseStepCommandValidator.cs │ │ │ │ │ └── DeletedRecourseStepResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateRecourseStepCommand.cs │ │ │ │ │ ├── UpdateRecourseStepCommandValidator.cs │ │ │ │ │ └── UpdatedRecourseStepResponse.cs │ │ │ ├── Constants │ │ │ │ ├── RecourseStepsBusinessMessages.cs │ │ │ │ └── RecourseStepsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdRecourseStepQuery.cs │ │ │ │ │ └── GetByIdRecourseStepResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListRecourseStepListItemDto.cs │ │ │ │ │ └── GetListRecourseStepQuery.cs │ │ │ └── Rules │ │ │ │ └── RecourseStepBusinessRules.cs │ │ ├── Recourses │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateRecourseCommand.cs │ │ │ │ │ ├── CreateRecourseCommandValidator.cs │ │ │ │ │ └── CreatedRecourseResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteRecourseCommand.cs │ │ │ │ │ ├── DeletedRecourseCommandValidator.cs │ │ │ │ │ └── DeletedRecourseResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateRecourseCommand.cs │ │ │ │ │ ├── UpdateRecourseCommandValidator.cs │ │ │ │ │ └── UpdatedRecourseResponse.cs │ │ │ ├── Constants │ │ │ │ ├── RecoursesBusinessMessages.cs │ │ │ │ └── RecoursesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdRecourseQuery.cs │ │ │ │ │ └── GetByIdRecourseResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListRecourseListItemDto.cs │ │ │ │ │ └── GetListRecourseQuery.cs │ │ │ └── Rules │ │ │ │ └── RecourseBusinessRules.cs │ │ ├── SocialMediaPlatforms │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateSocialMediaPlatformCommand.cs │ │ │ │ │ ├── CreateSocialMediaPlatformCommandValidator.cs │ │ │ │ │ └── CreatedSocialMediaPlatformResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteSocialMediaPlatformCommand.cs │ │ │ │ │ ├── DeletedSocialMediaPlatformCommandValidator.cs │ │ │ │ │ └── DeletedSocialMediaPlatformResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateSocialMediaPlatformCommand.cs │ │ │ │ │ ├── UpdateSocialMediaPlatformCommandValidator.cs │ │ │ │ │ └── UpdatedSocialMediaPlatformResponse.cs │ │ │ ├── Constants │ │ │ │ ├── SocialMediaPlatformsBusinessMessages.cs │ │ │ │ └── SocialMediaPlatformsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdSocialMediaPlatformQuery.cs │ │ │ │ │ └── GetByIdSocialMediaPlatformResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListSocialMediaPlatformListItemDto.cs │ │ │ │ │ └── GetListSocialMediaPlatformQuery.cs │ │ │ └── Rules │ │ │ │ └── SocialMediaPlatformBusinessRules.cs │ │ ├── SurveyTypes │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateSurveyTypeCommand.cs │ │ │ │ │ ├── CreateSurveyTypeCommandValidator.cs │ │ │ │ │ └── CreatedSurveyTypeResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteSurveyTypeCommand.cs │ │ │ │ │ ├── DeletedSurveyTypeCommandValidator.cs │ │ │ │ │ └── DeletedSurveyTypeResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateSurveyTypeCommand.cs │ │ │ │ │ ├── UpdateSurveyTypeCommandValidator.cs │ │ │ │ │ └── UpdatedSurveyTypeResponse.cs │ │ │ ├── Constants │ │ │ │ ├── SurveyTypesBusinessMessages.cs │ │ │ │ └── SurveyTypesOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdSurveyTypeQuery.cs │ │ │ │ │ └── GetByIdSurveyTypeResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListSurveyTypeListItemDto.cs │ │ │ │ │ └── GetListSurveyTypeQuery.cs │ │ │ └── Rules │ │ │ │ └── SurveyTypeBusinessRules.cs │ │ ├── Surveys │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateSurveyCommand.cs │ │ │ │ │ ├── CreateSurveyCommandValidator.cs │ │ │ │ │ └── CreatedSurveyResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteSurveyCommand.cs │ │ │ │ │ ├── DeletedSurveyCommandValidator.cs │ │ │ │ │ └── DeletedSurveyResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateSurveyCommand.cs │ │ │ │ │ ├── UpdateSurveyCommandValidator.cs │ │ │ │ │ └── UpdatedSurveyResponse.cs │ │ │ ├── Constants │ │ │ │ ├── SurveysBusinessMessages.cs │ │ │ │ └── SurveysOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdSurveyQuery.cs │ │ │ │ │ └── GetByIdSurveyResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListSurveyListItemDto.cs │ │ │ │ │ └── GetListSurveyQuery.cs │ │ │ └── Rules │ │ │ │ └── SurveyBusinessRules.cs │ │ ├── UserOperationClaims │ │ │ ├── Commands │ │ │ │ ├── Create │ │ │ │ │ ├── CreateUserOperationClaimCommand.cs │ │ │ │ │ ├── CreateUserOperationClaimCommandValidator.cs │ │ │ │ │ └── CreatedUserOperationClaimResponse.cs │ │ │ │ ├── Delete │ │ │ │ │ ├── DeleteUserOperationClaimCommand.cs │ │ │ │ │ └── DeletedUserOperationClaimResponse.cs │ │ │ │ └── Update │ │ │ │ │ ├── UpdateUserOperationClaimCommand.cs │ │ │ │ │ ├── UpdateUserOperationClaimCommandValidator.cs │ │ │ │ │ └── UpdatedUserOperationClaimResponse.cs │ │ │ ├── Constants │ │ │ │ ├── UserOperationClaimsMessages.cs │ │ │ │ └── UserOperationClaimsOperationClaims.cs │ │ │ ├── Profiles │ │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ │ ├── GetById │ │ │ │ │ ├── GetByIdUserOperationClaimQuery.cs │ │ │ │ │ └── GetByIdUserOperationClaimResponse.cs │ │ │ │ └── GetList │ │ │ │ │ ├── GetListUserOperationClaimListItemDto.cs │ │ │ │ │ └── GetListUserOperationClaimQuery.cs │ │ │ └── Rules │ │ │ │ └── UserOperationClaimBusinessRules.cs │ │ └── Users │ │ │ ├── Commands │ │ │ ├── Create │ │ │ │ ├── CreateUserCommand.cs │ │ │ │ ├── CreateUserCommandValidator.cs │ │ │ │ └── CreatedUserResponse.cs │ │ │ ├── Delete │ │ │ │ ├── DeleteUserCommand.cs │ │ │ │ └── DeletedUserResponse.cs │ │ │ ├── Update │ │ │ │ ├── UpdateUserCommand.cs │ │ │ │ ├── UpdateUserCommandValidator.cs │ │ │ │ └── UpdatedUserResponse.cs │ │ │ └── UpdateFromAuth │ │ │ │ ├── UpdateUserFromAuthCommand.cs │ │ │ │ ├── UpdateUserFromAuthCommandValidator.cs │ │ │ │ └── UpdatedUserFromAuthResponse.cs │ │ │ ├── Constants │ │ │ └── UsersOperationClaims.cs │ │ │ ├── Profiles │ │ │ └── MappingProfiles.cs │ │ │ ├── Queries │ │ │ ├── GetById │ │ │ │ ├── GetByIdUserQuery.cs │ │ │ │ └── GetByIdUserResponse.cs │ │ │ └── GetList │ │ │ │ ├── GetListUserListItemDto.cs │ │ │ │ └── GetListUserQuery.cs │ │ │ └── Rules │ │ │ └── UserBusinessRules.cs │ └── Services │ │ ├── AccountAnnouncements │ │ ├── AccountAnnouncementsManager.cs │ │ └── IAccountAnnouncementsService.cs │ │ ├── AccountCapabilities │ │ ├── AccountCapabilitiesManager.cs │ │ └── IAccountCapabilitiesService.cs │ │ ├── AccountCertificates │ │ ├── AccountCertificatesManager.cs │ │ └── IAccountCertificatesService.cs │ │ ├── AccountClassrooms │ │ ├── AccountClassroomsManager.cs │ │ └── IAccountClassroomsService.cs │ │ ├── AccountCollegeMetadatas │ │ ├── AccountCollegeMetadatasManager.cs │ │ └── IAccountCollegeMetadatasService.cs │ │ ├── AccountContracts │ │ ├── AccountContractsManager.cs │ │ └── IAccountContractsService.cs │ │ ├── AccountCourses │ │ ├── AccountCoursesManager.cs │ │ └── IAccountCoursesService.cs │ │ ├── AccountExamResults │ │ ├── AccountExamResultsManager.cs │ │ └── IAccountExamResultsService.cs │ │ ├── AccountForeignLanguageMetadatas │ │ ├── AccountForeignLanguageMetadatasManager.cs │ │ └── IAccountForeignLanguageMetadatasService.cs │ │ ├── AccountLearningPaths │ │ ├── AccountLearningPathsManager.cs │ │ └── IAccountLearningPathsService.cs │ │ ├── AccountLessons │ │ ├── AccountLessonsManager.cs │ │ └── IAccountLessonsService.cs │ │ ├── AccountRecourseDetails │ │ ├── AccountRecourseDetailsManager.cs │ │ └── IAccountRecourseDetailsService.cs │ │ ├── AccountRecourses │ │ ├── AccountRecoursesManager.cs │ │ └── IAccountRecoursesService.cs │ │ ├── AccountSocialMediaPlatforms │ │ ├── AccountSocialMediaPlatformsManager.cs │ │ └── IAccountSocialMediaPlatformsService.cs │ │ ├── Accounts │ │ ├── AccountsManager.cs │ │ └── IAccountsService.cs │ │ ├── Addresses │ │ ├── AddressesManager.cs │ │ └── IAddressesService.cs │ │ ├── AnnouncementTypes │ │ ├── AnnouncementTypesManager.cs │ │ └── IAnnouncementTypesService.cs │ │ ├── Announcements │ │ ├── AnnouncementsManager.cs │ │ └── IAnnouncementsService.cs │ │ ├── Answers │ │ ├── AnswersManager.cs │ │ └── IAnswersService.cs │ │ ├── AuthService │ │ ├── AuthManager.cs │ │ └── IAuthService.cs │ │ ├── AuthenticatorService │ │ ├── AuthenticatorManager.cs │ │ └── IAuthenticatorService.cs │ │ ├── Capabilities │ │ ├── CapabilitiesManager.cs │ │ └── ICapabilitiesService.cs │ │ ├── Certificates │ │ ├── CertificatesManager.cs │ │ └── ICertificatesService.cs │ │ ├── Cities │ │ ├── CitiesManager.cs │ │ └── ICitiesService.cs │ │ ├── ClassroomExams │ │ ├── ClassroomExamsManager.cs │ │ └── IClassroomExamsService.cs │ │ ├── Classrooms │ │ ├── ClassroomsManager.cs │ │ └── IClassroomsService.cs │ │ ├── Colleges │ │ ├── CollegesManager.cs │ │ └── ICollegesService.cs │ │ ├── ContractTypes │ │ ├── ContractTypesManager.cs │ │ └── IContractTypesService.cs │ │ ├── Contracts │ │ ├── ContractsManager.cs │ │ └── IContractsService.cs │ │ ├── Countries │ │ ├── CountriesManager.cs │ │ └── ICountriesService.cs │ │ ├── CourseCategories │ │ ├── CourseCategoriesManager.cs │ │ └── ICourseCategoriesService.cs │ │ ├── CourseLearningPaths │ │ ├── CourseLearningPathsManager.cs │ │ └── ICourseLearningPathsService.cs │ │ ├── Courses │ │ ├── CoursesManager.cs │ │ └── ICoursesService.cs │ │ ├── Districts │ │ ├── DistrictsManager.cs │ │ └── IDistrictsService.cs │ │ ├── EducationPrograms │ │ ├── EducationProgramsManager.cs │ │ └── IEducationProgramsService.cs │ │ ├── ExamQuestions │ │ ├── ExamQuestionsManager.cs │ │ └── IExamQuestionsService.cs │ │ ├── Exams │ │ ├── ExamsManager.cs │ │ └── IExamsService.cs │ │ ├── Experiences │ │ ├── ExperiencesManager.cs │ │ └── IExperiencesService.cs │ │ ├── ForeignLanguageLevels │ │ ├── ForeignLanguageLevelsManager.cs │ │ └── IForeignLanguageLevelsService.cs │ │ ├── ForeignLanguages │ │ ├── ForeignLanguagesManager.cs │ │ └── IForeignLanguagesService.cs │ │ ├── GraduationStatuses │ │ ├── GraduationStatusesManager.cs │ │ └── IGraduationStatusesService.cs │ │ ├── ImageExtensions │ │ ├── IImageExtensionsService.cs │ │ └── ImageExtensionsManager.cs │ │ ├── ImageService │ │ └── ImageServiceBase.cs │ │ ├── Images │ │ ├── IImagesService.cs │ │ └── ImagesManager.cs │ │ ├── LearningPathCategories │ │ ├── ILearningPathCategoriesService.cs │ │ └── LearningPathCategoriesManager.cs │ │ ├── LearningPaths │ │ ├── ILearningPathsService.cs │ │ └── LearningPathsManager.cs │ │ ├── Lessons │ │ ├── ILessonsService.cs │ │ └── LessonsManager.cs │ │ ├── OperationClaims │ │ ├── IOperationClaimService.cs │ │ └── OperationClaimManager.cs │ │ ├── OrganizationTypes │ │ ├── IOrganizationTypesService.cs │ │ └── OrganizationTypesManager.cs │ │ ├── Organizations │ │ ├── IOrganizationsService.cs │ │ └── OrganizationsManager.cs │ │ ├── QuestionCategories │ │ ├── IQuestionCategoriesService.cs │ │ └── QuestionCategoriesManager.cs │ │ ├── Questions │ │ ├── IQuestionsService.cs │ │ └── QuestionsManager.cs │ │ ├── RecourseDetailSteps │ │ ├── IRecourseDetailStepsService.cs │ │ └── RecourseDetailStepsManager.cs │ │ ├── RecourseDetails │ │ ├── IRecourseDetailsService.cs │ │ └── RecourseDetailsManager.cs │ │ ├── RecourseSteps │ │ ├── IRecourseStepsService.cs │ │ └── RecourseStepsManager.cs │ │ ├── Recourses │ │ ├── IRecoursesService.cs │ │ └── RecoursesManager.cs │ │ ├── Repositories │ │ ├── IAccountAnnouncementRepository.cs │ │ ├── IAccountCapabilityRepository.cs │ │ ├── IAccountCertificateRepository.cs │ │ ├── IAccountClassroomRepository.cs │ │ ├── IAccountCollegeMetadataRepository.cs │ │ ├── IAccountContractRepository.cs │ │ ├── IAccountCourseRepository.cs │ │ ├── IAccountExamResultRepository.cs │ │ ├── IAccountForeignLanguageMetadataRepository.cs │ │ ├── IAccountLearningPathRepository.cs │ │ ├── IAccountLessonRepository.cs │ │ ├── IAccountRecourseDetailRepository.cs │ │ ├── IAccountRecourseRepository.cs │ │ ├── IAccountRepository.cs │ │ ├── IAccountSocialMediaPlatformRepository.cs │ │ ├── IAddressRepository.cs │ │ ├── IAnnouncementRepository.cs │ │ ├── IAnnouncementTypeRepository.cs │ │ ├── IAnswerRepository.cs │ │ ├── ICapabilityRepository.cs │ │ ├── ICertificateRepository.cs │ │ ├── ICityRepository.cs │ │ ├── IClassroomExamRepository.cs │ │ ├── IClassroomRepository.cs │ │ ├── ICollegeRepository.cs │ │ ├── IContractRepository.cs │ │ ├── IContractTypeRepository.cs │ │ ├── ICountryRepository.cs │ │ ├── ICourseCategoryRepository.cs │ │ ├── ICourseLearningPathRepository.cs │ │ ├── ICourseRepository.cs │ │ ├── IDistrictRepository.cs │ │ ├── IEducationProgramRepository.cs │ │ ├── IEmailAuthenticatorRepository.cs │ │ ├── IExamQuestionRepository.cs │ │ ├── IExamRepository.cs │ │ ├── IExperienceRepository.cs │ │ ├── IForeignLanguageLevelRepository.cs │ │ ├── IForeignLanguageRepository.cs │ │ ├── IGraduationStatusRepository.cs │ │ ├── IImageExtensionRepository.cs │ │ ├── IImageRepository.cs │ │ ├── ILearningPathCategoryRepository.cs │ │ ├── ILearningPathRepository.cs │ │ ├── ILessonRepository.cs │ │ ├── IOperationClaimRepository.cs │ │ ├── IOrganizationRepository.cs │ │ ├── IOrganizationTypeRepository.cs │ │ ├── IOtpAuthenticatorRepository.cs │ │ ├── IQuestionCategoryRepository.cs │ │ ├── IQuestionRepository.cs │ │ ├── IRecourseDetailRepository.cs │ │ ├── IRecourseDetailStepRepository.cs │ │ ├── IRecourseRepository.cs │ │ ├── IRecourseStepRepository.cs │ │ ├── IRefreshTokenRepository.cs │ │ ├── ISocialMediaPlatformRepository.cs │ │ ├── ISurveyRepository.cs │ │ ├── ISurveyTypeRepository.cs │ │ ├── IUserOperationClaimRepository.cs │ │ └── IUserRepository.cs │ │ ├── SocialMediaPlatforms │ │ ├── ISocialMediaPlatformsService.cs │ │ └── SocialMediaPlatformsManager.cs │ │ ├── SurveyTypes │ │ ├── ISurveyTypesService.cs │ │ └── SurveyTypesManager.cs │ │ ├── Surveys │ │ ├── ISurveysService.cs │ │ └── SurveysManager.cs │ │ ├── UserOperationClaims │ │ ├── IUserOperationClaimService.cs │ │ └── UserOperationClaimManager.cs │ │ └── UsersService │ │ ├── IUserService.cs │ │ └── UserManager.cs │ ├── Domain │ ├── Domain.csproj │ └── Entities │ │ ├── Account.cs │ │ ├── AccountAnnouncement.cs │ │ ├── AccountCapability.cs │ │ ├── AccountCertificate.cs │ │ ├── AccountClassroom.cs │ │ ├── AccountCollegeMetadata.cs │ │ ├── AccountContract.cs │ │ ├── AccountCourse.cs │ │ ├── AccountExamResult.cs │ │ ├── AccountForeignLanguageMetadata.cs │ │ ├── AccountLearningPath.cs │ │ ├── AccountLesson.cs │ │ ├── AccountRecourse.cs │ │ ├── AccountRecourseDetail.cs │ │ ├── AccountSocialMediaPlatform.cs │ │ ├── Address.cs │ │ ├── Announcement.cs │ │ ├── AnnouncementType.cs │ │ ├── Answer.cs │ │ ├── Capability.cs │ │ ├── Certificate.cs │ │ ├── City.cs │ │ ├── Classroom.cs │ │ ├── ClassroomExam.cs │ │ ├── College.cs │ │ ├── Contract.cs │ │ ├── ContractType.cs │ │ ├── Country.cs │ │ ├── Course.cs │ │ ├── CourseCategory.cs │ │ ├── CourseLearningPath.cs │ │ ├── District.cs │ │ ├── EducationProgram.cs │ │ ├── Exam.cs │ │ ├── ExamQuestion.cs │ │ ├── Experience.cs │ │ ├── ForeignLanguage.cs │ │ ├── ForeignLanguageLevel.cs │ │ ├── GraduationStatus.cs │ │ ├── Image.cs │ │ ├── ImageExtension.cs │ │ ├── LearningPath.cs │ │ ├── LearningPathCategory.cs │ │ ├── Lesson.cs │ │ ├── Organization.cs │ │ ├── OrganizationType.cs │ │ ├── Question.cs │ │ ├── QuestionCategory.cs │ │ ├── Recourse.cs │ │ ├── RecourseDetail.cs │ │ ├── RecourseDetailStep.cs │ │ ├── RecourseStep.cs │ │ ├── SocialMediaPlatform.cs │ │ ├── Survey.cs │ │ └── SurveyType.cs │ ├── Infrastructure │ ├── Adapters │ │ └── ImageService │ │ │ └── CloudinaryImageServiceAdapter.cs │ ├── Infrastructure.csproj │ └── InfrastructureServiceRegistration.cs │ ├── Persistence │ ├── ConnectionStringConfiguration.cs │ ├── Contexts │ │ ├── BaseDbContext.cs │ │ └── DesignTimeDbContextFactory.cs │ ├── EntityConfigurations │ │ ├── AccountAnnouncementConfiguration.cs │ │ ├── AccountCapabilityConfiguration.cs │ │ ├── AccountCertificateConfiguration.cs │ │ ├── AccountClassroomConfiguration.cs │ │ ├── AccountCollegeMetadataConfiguration.cs │ │ ├── AccountConfiguration.cs │ │ ├── AccountContractConfiguration.cs │ │ ├── AccountCourseConfiguration.cs │ │ ├── AccountExamResultConfiguration.cs │ │ ├── AccountForeignLanguageMetadataConfiguration.cs │ │ ├── AccountLearningPathConfiguration.cs │ │ ├── AccountLessonConfiguration.cs │ │ ├── AccountRecourseConfiguration.cs │ │ ├── AccountRecourseDetailConfiguration.cs │ │ ├── AccountSocialMediaPlatformConfiguration.cs │ │ ├── AddressConfiguration.cs │ │ ├── AnnouncementConfiguration.cs │ │ ├── AnnouncementTypeConfiguration.cs │ │ ├── AnswerConfiguration.cs │ │ ├── CapabilityConfiguration.cs │ │ ├── CertificateConfiguration.cs │ │ ├── CityConfiguration.cs │ │ ├── ClassroomConfiguration.cs │ │ ├── ClassroomExamConfiguration.cs │ │ ├── CollegeConfiguration.cs │ │ ├── ContractConfiguration.cs │ │ ├── ContractTypeConfiguration.cs │ │ ├── CountryConfiguration.cs │ │ ├── CourseCategoryConfiguration.cs │ │ ├── CourseConfiguration.cs │ │ ├── CourseLearningPathConfiguration.cs │ │ ├── DistrictConfiguration.cs │ │ ├── EducationProgramConfiguration.cs │ │ ├── EmailAuthenticatorConfiguration.cs │ │ ├── ExamConfiguration.cs │ │ ├── ExamQuestionConfiguration.cs │ │ ├── ExperienceConfiguration.cs │ │ ├── ForeignLanguageConfiguration.cs │ │ ├── ForeignLanguageLevelConfiguration.cs │ │ ├── GraduationStatusConfiguration.cs │ │ ├── ImageConfiguration.cs │ │ ├── ImageExtensionConfiguration.cs │ │ ├── LearningPathCategoryConfiguration.cs │ │ ├── LearningPathConfiguration.cs │ │ ├── LessonConfiguration.cs │ │ ├── OperationClaimConfiguration.cs │ │ ├── OrganizationConfiguration.cs │ │ ├── OrganizationTypeConfiguration.cs │ │ ├── OtpAuthenticatorConfiguration.cs │ │ ├── QuestionCategoryConfiguration.cs │ │ ├── QuestionConfiguration.cs │ │ ├── RecourseConfiguration.cs │ │ ├── RecourseDetailConfiguration.cs │ │ ├── RecourseDetailStepConfiguration.cs │ │ ├── RecourseStepConfiguration.cs │ │ ├── RefreshTokenConfiguration.cs │ │ ├── SocialMediaPlatformConfiguration.cs │ │ ├── SurveyConfiguration.cs │ │ ├── SurveyTypeConfiguration.cs │ │ ├── UserConfiguration.cs │ │ └── UserOperationClaimConfiguration.cs │ ├── Migrations │ │ ├── 20240304163417_InitialCreate.Designer.cs │ │ ├── 20240304163417_InitialCreate.cs │ │ └── BaseDbContextModelSnapshot.cs │ ├── Persistence.csproj │ ├── PersistenceServiceRegistration.cs │ └── Repositories │ │ ├── AccountAnnouncementRepository.cs │ │ ├── AccountCapabilityRepository.cs │ │ ├── AccountCertificateRepository.cs │ │ ├── AccountClassroomRepository.cs │ │ ├── AccountCollegeMetadataRepository.cs │ │ ├── AccountContractRepository.cs │ │ ├── AccountCourseRepository.cs │ │ ├── AccountExamResultRepository.cs │ │ ├── AccountForeignLanguageMetadataRepository.cs │ │ ├── AccountLearningPathRepository.cs │ │ ├── AccountLessonRepository.cs │ │ ├── AccountRecourseDetailRepository.cs │ │ ├── AccountRecourseRepository.cs │ │ ├── AccountRepository.cs │ │ ├── AccountSocialMediaPlatformRepository.cs │ │ ├── AddressRepository.cs │ │ ├── AnnouncementRepository.cs │ │ ├── AnnouncementTypeRepository.cs │ │ ├── AnswerRepository.cs │ │ ├── CapabilityRepository.cs │ │ ├── CertificateRepository.cs │ │ ├── CityRepository.cs │ │ ├── ClassroomExamRepository.cs │ │ ├── ClassroomRepository.cs │ │ ├── CollegeRepository.cs │ │ ├── ContractRepository.cs │ │ ├── ContractTypeRepository.cs │ │ ├── CountryRepository.cs │ │ ├── CourseCategoryRepository.cs │ │ ├── CourseLearningPathRepository.cs │ │ ├── CourseRepository.cs │ │ ├── DistrictRepository.cs │ │ ├── EducationProgramRepository.cs │ │ ├── EmailAuthenticatorRepository.cs │ │ ├── ExamQuestionRepository.cs │ │ ├── ExamRepository.cs │ │ ├── ExperienceRepository.cs │ │ ├── ForeignLanguageLevelRepository.cs │ │ ├── ForeignLanguageRepository.cs │ │ ├── GraduationStatusRepository.cs │ │ ├── ImageExtensionRepository.cs │ │ ├── ImageRepository.cs │ │ ├── LearningPathCategoryRepository.cs │ │ ├── LearningPathRepository.cs │ │ ├── LessonRepository.cs │ │ ├── OperationClaimRepository.cs │ │ ├── OrganizationRepository.cs │ │ ├── OrganizationTypeRepository.cs │ │ ├── OtpAuthenticatorRepository.cs │ │ ├── QuestionCategoryRepository.cs │ │ ├── QuestionRepository.cs │ │ ├── RecourseDetailRepository.cs │ │ ├── RecourseDetailStepRepository.cs │ │ ├── RecourseRepository.cs │ │ ├── RecourseStepRepository.cs │ │ ├── RefreshTokenRepository.cs │ │ ├── SocialMediaPlatformRepository.cs │ │ ├── SurveyRepository.cs │ │ ├── SurveyTypeRepository.cs │ │ ├── UserOperationClaimRepository.cs │ │ └── UserRepository.cs │ └── WebAPI │ ├── Controllers │ ├── AccountAnnouncementsController.cs │ ├── AccountCapabilitiesController.cs │ ├── AccountCertificatesController.cs │ ├── AccountClassroomsController.cs │ ├── AccountCollegeMetadatasController.cs │ ├── AccountContractsController.cs │ ├── AccountCoursesController.cs │ ├── AccountExamResultsController.cs │ ├── AccountForeignLanguageMetadatasController.cs │ ├── AccountLearningPathsController.cs │ ├── AccountLessonsController.cs │ ├── AccountRecourseDetailsController.cs │ ├── AccountRecoursesController.cs │ ├── AccountSocialMediaPlatformsController.cs │ ├── AccountsController.cs │ ├── AddressesController.cs │ ├── AnnouncementTypesController.cs │ ├── AnnouncementsController.cs │ ├── AnswersController.cs │ ├── AuthController.cs │ ├── BaseController.cs │ ├── CapabilitiesController.cs │ ├── CertificatesController.cs │ ├── CitiesController.cs │ ├── ClassroomExamsController.cs │ ├── ClassroomsController.cs │ ├── CollegesController.cs │ ├── ContractTypesController.cs │ ├── ContractsController.cs │ ├── CountriesController.cs │ ├── CourseCategoriesController.cs │ ├── CourseLearningPathsController.cs │ ├── CoursesController.cs │ ├── DistrictsController.cs │ ├── Dtos │ │ └── UpdateByAuthFromServiceRequestDto.cs │ ├── EducationProgramsController.cs │ ├── ExamQuestionsController.cs │ ├── ExamsController.cs │ ├── ExperiencesController.cs │ ├── ForeignLanguageLevelsController.cs │ ├── ForeignLanguagesController.cs │ ├── GraduationStatusController.cs │ ├── ImageExtensionsController.cs │ ├── ImagesController.cs │ ├── LearningPathCategoriesController.cs │ ├── LearningPathsController.cs │ ├── LessonsController.cs │ ├── OperationClaimsController.cs │ ├── OrganizationTypesController.cs │ ├── OrganizationsController.cs │ ├── QuestionCategoriesController.cs │ ├── QuestionsController.cs │ ├── RecourseDetailStepsController.cs │ ├── RecourseDetailsController.cs │ ├── RecourseStepsController.cs │ ├── RecoursesController.cs │ ├── SocialMediaPlatformsController.cs │ ├── SurveyTypesController.cs │ ├── SurveysController.cs │ ├── UserOperationClaimsController.cs │ └── UsersController.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── WebAPI.csproj │ ├── WebAPIConfiguration.cs │ └── appsettings.Development.json └── tests └── Application.Tests ├── Application.Tests.csproj ├── DependencyResolvers └── UsersTestServiceRegistration.cs ├── Features └── Users │ ├── Commands │ ├── Create │ │ └── CreateUserTests.cs │ ├── Delete │ │ └── DeleteBrandTests.cs │ └── Update │ │ └── UpdateBrandTests.cs │ └── Queries │ ├── GetById │ └── GetByIdBrandTests.cs │ └── GetList │ └── GetListBrandTests.cs ├── Mocks ├── FakeData │ └── UserFakeData.cs └── Repositories │ └── UserMockRepository.cs └── Startup.cs /.config/dotnet-tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "isRoot": true, 4 | "tools": { 5 | "csharpier": { 6 | "version": "0.22.1", 7 | "commands": [ 8 | "dotnet-csharpier" 9 | ] 10 | }, 11 | "roslynator.dotnet.cli": { 12 | "version": "0.5.0", 13 | "commands": [ 14 | "roslynator" 15 | ] 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /.csharpierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 140, 3 | "useTabs": false, 4 | "tabWidth": 4, 5 | "preprocessorSymbolSets": [ 6 | "", 7 | "DEBUG", 8 | "DEBUG,CODE_STYLE" 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "src/corePackages"] 2 | path = src/corePackages 3 | url = https://github.com/kodlamaio-projects/nArchitecture.Core 4 | -------------------------------------------------------------------------------- /src/corePackages/.config/dotnet-tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "isRoot": true, 4 | "tools": { 5 | "csharpier": { 6 | "version": "0.22.1", 7 | "commands": [ 8 | "dotnet-csharpier" 9 | ] 10 | }, 11 | "roslynator.dotnet.cli": { 12 | "version": "0.5.0", 13 | "commands": [ 14 | "roslynator" 15 | ] 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/corePackages/.csharpierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 140, 3 | "useTabs": false, 4 | "tabWidth": 4, 5 | "preprocessorSymbolSets": [ 6 | "", 7 | "DEBUG", 8 | "DEBUG,CODE_STYLE" 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /src/corePackages/Core.Application/Dtos/IDto.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Application.Dtos; 2 | 3 | public interface IDto { } 4 | -------------------------------------------------------------------------------- /src/corePackages/Core.Application/Pipelines/Authorization/ISecuredRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Application.Pipelines.Authorization; 2 | 3 | public interface ISecuredRequest 4 | { 5 | public string[] Roles { get; } 6 | } 7 | -------------------------------------------------------------------------------- /src/corePackages/Core.Application/Pipelines/Caching/CacheSettings.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Application.Pipelines.Caching; 2 | 3 | public class CacheSettings 4 | { 5 | public int SlidingExpiration { get; set; } 6 | } 7 | -------------------------------------------------------------------------------- /src/corePackages/Core.Application/Pipelines/Caching/ICachableRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Application.Pipelines.Caching; 2 | 3 | public interface ICachableRequest 4 | { 5 | bool BypassCache { get; } 6 | string CacheKey { get; } 7 | string? CacheGroupKey { get; } 8 | TimeSpan? SlidingExpiration { get; } 9 | } 10 | -------------------------------------------------------------------------------- /src/corePackages/Core.Application/Pipelines/Caching/ICacheRemoverRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Application.Pipelines.Caching; 2 | 3 | public interface ICacheRemoverRequest 4 | { 5 | bool BypassCache { get; } 6 | string? CacheKey { get; } 7 | string? CacheGroupKey { get; } 8 | } 9 | -------------------------------------------------------------------------------- /src/corePackages/Core.Application/Pipelines/Logging/ILoggableRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Application.Pipelines.Logging; 2 | 3 | public interface ILoggableRequest { } 4 | -------------------------------------------------------------------------------- /src/corePackages/Core.Application/Pipelines/Performance/IIntervalRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Application.Pipelines.Performance; 2 | 3 | public interface IIntervalRequest 4 | { 5 | public int Interval { get; } 6 | } 7 | -------------------------------------------------------------------------------- /src/corePackages/Core.Application/Pipelines/Transaction/ITransactionalRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Application.Pipelines.Transaction; 2 | 3 | public interface ITransactionalRequest { } 4 | -------------------------------------------------------------------------------- /src/corePackages/Core.Application/Requests/PageRequest.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Application.Requests; 2 | 3 | public class PageRequest 4 | { 5 | public int PageIndex { get; set; } 6 | public int PageSize { get; set; } 7 | } 8 | -------------------------------------------------------------------------------- /src/corePackages/Core.Application/Responses/GetListResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Persistence.Paging; 2 | 3 | namespace Core.Application.Responses; 4 | 5 | public class GetListResponse : BasePageableModel 6 | { 7 | public IList Items 8 | { 9 | get => _items ??= new List(); 10 | set => _items = value; 11 | } 12 | 13 | private IList? _items; 14 | } 15 | -------------------------------------------------------------------------------- /src/corePackages/Core.Application/Responses/IResponse.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Application.Responses; 2 | 3 | public interface IResponse { } 4 | -------------------------------------------------------------------------------- /src/corePackages/Core.Application/Rules/BaseBusinessRules.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Application.Rules; 2 | 3 | public abstract class BaseBusinessRules { } 4 | -------------------------------------------------------------------------------- /src/corePackages/Core.CrossCuttingConcerns/Exceptions/Extensions/ExceptionMiddlewareExtensions.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Builder; 2 | 3 | namespace Core.CrossCuttingConcerns.Exceptions.Extensions; 4 | 5 | public static class ExceptionMiddlewareExtensions 6 | { 7 | public static void ConfigureCustomExceptionMiddleware(this IApplicationBuilder app) => app.UseMiddleware(); 8 | } 9 | -------------------------------------------------------------------------------- /src/corePackages/Core.CrossCuttingConcerns/Exceptions/Extensions/ProblemDetailsExtensions.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Mvc; 2 | using System.Text.Json; 3 | 4 | namespace Core.CrossCuttingConcerns.Exceptions.Extensions; 5 | 6 | internal static class ProblemDetailsExtensions 7 | { 8 | public static string AsJson(this TProblemDetail details) 9 | where TProblemDetail : ProblemDetails => JsonSerializer.Serialize(details); 10 | } 11 | -------------------------------------------------------------------------------- /src/corePackages/Core.CrossCuttingConcerns/Logging/Serilog/ConfigurationModels/ElasticSearchConfiguration.cs: -------------------------------------------------------------------------------- 1 | namespace Core.CrossCuttingConcerns.Logging.Serilog.ConfigurationModels; 2 | 3 | public class ElasticSearchConfiguration 4 | { 5 | public string ConnectionString { get; set; } 6 | 7 | public ElasticSearchConfiguration() 8 | { 9 | ConnectionString = string.Empty; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/corePackages/Core.CrossCuttingConcerns/Logging/Serilog/ConfigurationModels/GraylogConfiguration.cs: -------------------------------------------------------------------------------- 1 | namespace Core.CrossCuttingConcerns.Logging.Serilog.ConfigurationModels; 2 | 3 | public class GraylogConfiguration 4 | { 5 | public string? HostnameOrAddress { get; set; } 6 | public int Port { get; set; } 7 | } 8 | -------------------------------------------------------------------------------- /src/corePackages/Core.CrossCuttingConcerns/Logging/Serilog/Messages/SerilogMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Core.CrossCuttingConcerns.Logging.Serilog.Messages; 2 | 3 | public static class SerilogMessages 4 | { 5 | public static string NullOptionsMessage => "You have sent a blank value! Something went wrong. Please try again."; 6 | } 7 | -------------------------------------------------------------------------------- /src/corePackages/Core.ElasticSearch/Models/IElasticSearchResult.cs: -------------------------------------------------------------------------------- 1 | namespace Core.ElasticSearch.Models; 2 | 3 | public interface IElasticSearchResult 4 | { 5 | public bool Success { get; } 6 | public string? Message { get; } 7 | } 8 | -------------------------------------------------------------------------------- /src/corePackages/Core.Mailing/IMailService.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Mailing; 2 | 3 | public interface IMailService 4 | { 5 | void SendMail(Mail mail); 6 | Task SendEmailAsync(Mail mail); 7 | } 8 | -------------------------------------------------------------------------------- /src/corePackages/Core.Mailing/ToEmail.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Mailing; 2 | 3 | public class ToEmail 4 | { 5 | public string Email { get; set; } 6 | public string FullName { get; set; } 7 | 8 | public ToEmail() 9 | { 10 | Email = string.Empty; 11 | FullName = string.Empty; 12 | } 13 | 14 | public ToEmail(string email, string fullName) 15 | { 16 | Email = email; 17 | FullName = fullName; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/corePackages/Core.Persistence/Dynamic/DynamicQuery.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Persistence.Dynamic; 2 | 3 | public class DynamicQuery 4 | { 5 | public IEnumerable? Sort { get; set; } 6 | public Filter? Filter { get; set; } 7 | 8 | public DynamicQuery() { } 9 | 10 | public DynamicQuery(IEnumerable? sort, Filter? filter) 11 | { 12 | Sort = sort; 13 | Filter = filter; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/corePackages/Core.Persistence/Dynamic/Sort.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Persistence.Dynamic; 2 | 3 | public class Sort 4 | { 5 | public string Field { get; set; } 6 | public string Dir { get; set; } 7 | 8 | public Sort() 9 | { 10 | Field = string.Empty; 11 | Dir = string.Empty; 12 | } 13 | 14 | public Sort(string field, string dir) 15 | { 16 | Field = field; 17 | Dir = dir; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/corePackages/Core.Persistence/Paging/BasePageableModel.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Persistence.Paging; 2 | 3 | public abstract class BasePageableModel 4 | { 5 | public int Index { get; set; } 6 | public int Size { get; set; } 7 | public int Count { get; set; } 8 | public int Pages { get; set; } 9 | public bool HasPrevious { get; set; } 10 | public bool HasNext { get; set; } 11 | } 12 | -------------------------------------------------------------------------------- /src/corePackages/Core.Persistence/Paging/IPaginate.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Persistence.Paging; 2 | 3 | public interface IPaginate 4 | { 5 | int From { get; } 6 | int Index { get; } 7 | int Size { get; } 8 | int Count { get; } 9 | int Pages { get; } 10 | IList Items { get; } 11 | bool HasPrevious { get; } 12 | bool HasNext { get; } 13 | } 14 | -------------------------------------------------------------------------------- /src/corePackages/Core.Persistence/Repositories/IEntityTimestamps.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Persistence.Repositories; 2 | 3 | public interface IEntityTimestamps 4 | { 5 | DateTime CreatedDate { get; set; } 6 | DateTime? UpdatedDate { get; set; } 7 | DateTime? DeletedDate { get; set; } 8 | } 9 | -------------------------------------------------------------------------------- /src/corePackages/Core.Persistence/Repositories/IQuery.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Persistence.Repositories; 2 | 3 | public interface IQuery 4 | { 5 | IQueryable Query(); 6 | } 7 | -------------------------------------------------------------------------------- /src/corePackages/Core.Security/Constants/GeneralOperationClaims.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Security.Constants; 2 | 3 | public static class GeneralOperationClaims 4 | { 5 | public const string Admin = "Admin"; 6 | } 7 | -------------------------------------------------------------------------------- /src/corePackages/Core.Security/EmailAuthenticator/IEmailAuthenticatorHelper.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Security.EmailAuthenticator; 2 | 3 | public interface IEmailAuthenticatorHelper 4 | { 5 | public Task CreateEmailActivationKey(); 6 | public Task CreateEmailActivationCode(); 7 | } 8 | -------------------------------------------------------------------------------- /src/corePackages/Core.Security/Encryption/SecurityKeyHelper.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.IdentityModel.Tokens; 2 | using System.Text; 3 | 4 | namespace Core.Security.Encryption; 5 | 6 | public static class SecurityKeyHelper 7 | { 8 | public static SecurityKey CreateSecurityKey(string securityKey) => new SymmetricSecurityKey(Encoding.UTF8.GetBytes(securityKey)); 9 | } 10 | -------------------------------------------------------------------------------- /src/corePackages/Core.Security/Encryption/SigningCredentialsHelper.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.IdentityModel.Tokens; 2 | 3 | namespace Core.Security.Encryption; 4 | 5 | public static class SigningCredentialsHelper 6 | { 7 | public static SigningCredentials CreateSigningCredentials(SecurityKey securityKey) => 8 | new(securityKey, SecurityAlgorithms.HmacSha512Signature); 9 | } 10 | -------------------------------------------------------------------------------- /src/corePackages/Core.Security/Enums/AuthenticatorType.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Security.Enums; 2 | 3 | public enum AuthenticatorType 4 | { 5 | None = 0, 6 | Email = 1, 7 | Otp = 2 8 | } 9 | -------------------------------------------------------------------------------- /src/corePackages/Core.Security/JWT/AccessToken.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Security.JWT; 2 | 3 | public class AccessToken 4 | { 5 | public string Token { get; set; } 6 | public DateTime Expiration { get; set; } 7 | 8 | public AccessToken() 9 | { 10 | Token = string.Empty; 11 | } 12 | 13 | public AccessToken(string token, DateTime expiration) 14 | { 15 | Token = token; 16 | Expiration = expiration; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/corePackages/Core.Security/JWT/ITokenHelper.cs: -------------------------------------------------------------------------------- 1 | using Core.Security.Entities; 2 | 3 | namespace Core.Security.JWT; 4 | 5 | public interface ITokenHelper 6 | { 7 | AccessToken CreateToken(User user, IList operationClaims); 8 | 9 | RefreshToken CreateRefreshToken(User user, string ipAddress); 10 | } 11 | -------------------------------------------------------------------------------- /src/corePackages/Core.Security/OtpAuthenticator/IOtpAuthenticatorHelper.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Security.OtpAuthenticator; 2 | 3 | public interface IOtpAuthenticatorHelper 4 | { 5 | public Task GenerateSecretKey(); 6 | public Task ConvertSecretKeyToString(byte[] secretKey); 7 | public Task VerifyCode(byte[] secretKey, string code); 8 | } 9 | -------------------------------------------------------------------------------- /src/corePackages/Core.Test/Application/Constants/ValidationErrorCodes.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Test.Application.Constants; 2 | 3 | public static class ValidationErrorCodes 4 | { 5 | public static string NotEmptyValidator => "NotEmptyValidator"; 6 | public static string MinimumLengthValidator => "MinimumLengthValidator"; 7 | public static string EmailValidator => "EmailValidator"; 8 | } 9 | -------------------------------------------------------------------------------- /src/corePackages/Core.Test/Application/FakeData/BaseFakeData.cs: -------------------------------------------------------------------------------- 1 | using Core.Persistence.Repositories; 2 | 3 | namespace Core.Test.Application.FakeData; 4 | 5 | public abstract class BaseFakeData 6 | where TEntity : Entity, new() 7 | { 8 | public List Data => CreateFakeData(); 9 | public abstract List CreateFakeData(); 10 | } 11 | -------------------------------------------------------------------------------- /src/corePackages/docs/n-architecture-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotNetReactFullStack/TobetoPlatformCleanArchitecture/6a61c6923b1c5ffb59ee7e838c038aac88705cdc/src/corePackages/docs/n-architecture-logo.png -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountAnnouncements/Commands/Create/CreatedAccountAnnouncementResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountAnnouncements.Commands.Create; 4 | 5 | public class CreatedAccountAnnouncementResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int AnnouncementId { get; set; } 10 | public bool Read { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountAnnouncements/Commands/Delete/DeletedAccountAnnouncementCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.AccountAnnouncements.Commands.Delete; 4 | 5 | public class DeleteAccountAnnouncementCommandValidator : AbstractValidator 6 | { 7 | public DeleteAccountAnnouncementCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountAnnouncements/Commands/Delete/DeletedAccountAnnouncementResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountAnnouncements.Commands.Delete; 4 | 5 | public class DeletedAccountAnnouncementResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountAnnouncements/Commands/Update/UpdatedAccountAnnouncementResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountAnnouncements.Commands.Update; 4 | 5 | public class UpdatedAccountAnnouncementResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int AnnouncementId { get; set; } 10 | public bool Read { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountAnnouncements/Constants/AccountAnnouncementsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.AccountAnnouncements.Constants; 2 | 3 | public static class AccountAnnouncementsBusinessMessages 4 | { 5 | public const string AccountAnnouncementNotExists = "Account announcement not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountAnnouncements/Queries/GetById/GetByIdAccountAnnouncementResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountAnnouncements.Queries.GetById; 4 | 5 | public class GetByIdAccountAnnouncementResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int AnnouncementId { get; set; } 10 | public bool Read { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountAnnouncements/Queries/GetList/GetListAccountAnnouncementListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.AccountAnnouncements.Queries.GetList; 4 | 5 | public class GetListAccountAnnouncementListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int AnnouncementId { get; set; } 10 | public bool Read { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCapabilities/Commands/Create/CreatedAccountCapabilityResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountCapabilities.Commands.Create; 4 | 5 | public class CreatedAccountCapabilityResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int CapabilityId { get; set; } 10 | public int Priority { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCapabilities/Commands/Delete/DeletedAccountCapabilityCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.AccountCapabilities.Commands.Delete; 4 | 5 | public class DeleteAccountCapabilityCommandValidator : AbstractValidator 6 | { 7 | public DeleteAccountCapabilityCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCapabilities/Commands/Delete/DeletedAccountCapabilityResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountCapabilities.Commands.Delete; 4 | 5 | public class DeletedAccountCapabilityResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCapabilities/Commands/Update/UpdatedAccountCapabilityResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountCapabilities.Commands.Update; 4 | 5 | public class UpdatedAccountCapabilityResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int CapabilityId { get; set; } 10 | public int Priority { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCapabilities/Constants/AccountCapabilitiesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.AccountCapabilities.Constants; 2 | 3 | public static class AccountCapabilitiesBusinessMessages 4 | { 5 | public const string AccountCapabilityNotExists = "Account capability not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCapabilities/Queries/GetById/GetByIdAccountCapabilityResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountCapabilities.Queries.GetById; 4 | 5 | public class GetByIdAccountCapabilityResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int CapabilityId { get; set; } 10 | public int Priority { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCapabilities/Queries/GetList/GetListAccountCapabilityListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.AccountCapabilities.Queries.GetList; 4 | 5 | public class GetListAccountCapabilityListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int CapabilityId { get; set; } 10 | public int Priority { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCertificates/Commands/Create/CreatedAccountCertificateResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountCertificates.Commands.Create; 4 | 5 | public class CreatedAccountCertificateResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int CertificateId { get; set; } 10 | public int Priority { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCertificates/Commands/Delete/DeletedAccountCertificateCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.AccountCertificates.Commands.Delete; 4 | 5 | public class DeleteAccountCertificateCommandValidator : AbstractValidator 6 | { 7 | public DeleteAccountCertificateCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCertificates/Commands/Delete/DeletedAccountCertificateResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountCertificates.Commands.Delete; 4 | 5 | public class DeletedAccountCertificateResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCertificates/Commands/Update/UpdatedAccountCertificateResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountCertificates.Commands.Update; 4 | 5 | public class UpdatedAccountCertificateResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int CertificateId { get; set; } 10 | public int Priority { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCertificates/Constants/AccountCertificatesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.AccountCertificates.Constants; 2 | 3 | public static class AccountCertificatesBusinessMessages 4 | { 5 | public const string AccountCertificateNotExists = "Account certificate not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCertificates/Queries/GetById/GetByIdAccountCertificateResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountCertificates.Queries.GetById; 4 | 5 | public class GetByIdAccountCertificateResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int CertificateId { get; set; } 10 | public int Priority { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCertificates/Queries/GetList/GetListAccountCertificateListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.AccountCertificates.Queries.GetList; 4 | 5 | public class GetListAccountCertificateListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int CertificateId { get; set; } 10 | public int Priority { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountClassrooms/Commands/Create/CreatedAccountClassroomResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountClassrooms.Commands.Create; 4 | 5 | public class CreatedAccountClassroomResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int ClassroomId { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountClassrooms/Commands/Delete/DeletedAccountClassroomCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.AccountClassrooms.Commands.Delete; 4 | 5 | public class DeleteAccountClassroomCommandValidator : AbstractValidator 6 | { 7 | public DeleteAccountClassroomCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountClassrooms/Commands/Delete/DeletedAccountClassroomResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountClassrooms.Commands.Delete; 4 | 5 | public class DeletedAccountClassroomResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountClassrooms/Commands/Update/UpdatedAccountClassroomResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountClassrooms.Commands.Update; 4 | 5 | public class UpdatedAccountClassroomResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int ClassroomId { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountClassrooms/Constants/AccountClassroomsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.AccountClassrooms.Constants; 2 | 3 | public static class AccountClassroomsBusinessMessages 4 | { 5 | public const string AccountClassroomNotExists = "Account classroom not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountClassrooms/Queries/GetById/GetByIdAccountClassroomResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountClassrooms.Queries.GetById; 4 | 5 | public class GetByIdAccountClassroomResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int ClassroomId { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountClassrooms/Queries/GetList/GetListAccountClassroomListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.AccountClassrooms.Queries.GetList; 4 | 5 | public class GetListAccountClassroomListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int ClassroomId { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCollegeMetadatas/Commands/Delete/DeletedAccountCollegeMetadataResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountCollegeMetadatas.Commands.Delete; 4 | 5 | public class DeletedAccountCollegeMetadataResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCollegeMetadatas/Constants/AccountCollegeMetadatasBusinessMessages.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotNetReactFullStack/TobetoPlatformCleanArchitecture/6a61c6923b1c5ffb59ee7e838c038aac88705cdc/src/tobetoPlatformCleanArchitecture/Application/Features/AccountCollegeMetadatas/Constants/AccountCollegeMetadatasBusinessMessages.cs -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountContracts/Commands/Create/CreatedAccountContractResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountContracts.Commands.Create; 4 | 5 | public class CreatedAccountContractResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int ContractId { get; set; } 10 | public bool IsAccept { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountContracts/Commands/Delete/DeletedAccountContractCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.AccountContracts.Commands.Delete; 4 | 5 | public class DeleteAccountContractCommandValidator : AbstractValidator 6 | { 7 | public DeleteAccountContractCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountContracts/Commands/Delete/DeletedAccountContractResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountContracts.Commands.Delete; 4 | 5 | public class DeletedAccountContractResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountContracts/Commands/Update/UpdatedAccountContractResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountContracts.Commands.Update; 4 | 5 | public class UpdatedAccountContractResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int ContractId { get; set; } 10 | public bool IsAccept { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountContracts/Constants/AccountContractsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.AccountContracts.Constants; 2 | 3 | public static class AccountContractsBusinessMessages 4 | { 5 | public const string AccountContractNotExists = "Account contract not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountContracts/Queries/GetById/GetByIdAccountContractResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountContracts.Queries.GetById; 4 | 5 | public class GetByIdAccountContractResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int ContractId { get; set; } 10 | public bool IsAccept { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountContracts/Queries/GetList/GetListAccountContractListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.AccountContracts.Queries.GetList; 4 | 5 | public class GetListAccountContractListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int ContractId { get; set; } 10 | public bool IsAccept { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCourses/Commands/Create/CreatedAccountCourseResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountCourses.Commands.Create; 4 | 5 | public class CreatedAccountCourseResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CourseId { get; set; } 9 | public int AccountId { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCourses/Commands/Delete/DeletedAccountCourseCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.AccountCourses.Commands.Delete; 4 | 5 | public class DeleteAccountCourseCommandValidator : AbstractValidator 6 | { 7 | public DeleteAccountCourseCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCourses/Commands/Delete/DeletedAccountCourseResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountCourses.Commands.Delete; 4 | 5 | public class DeletedAccountCourseResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCourses/Commands/Update/UpdatedAccountCourseResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountCourses.Commands.Update; 4 | 5 | public class UpdatedAccountCourseResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CourseId { get; set; } 9 | public int AccountId { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCourses/Constants/AccountCoursesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.AccountCourses.Constants; 2 | 3 | public static class AccountCoursesBusinessMessages 4 | { 5 | public const string AccountCourseNotExists = "Account course not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCourses/Queries/GetById/GetByIdAccountCourseResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountCourses.Queries.GetById; 4 | 5 | public class GetByIdAccountCourseResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CourseId { get; set; } 9 | public int AccountId { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountCourses/Queries/GetList/GetListAccountCourseListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.AccountCourses.Queries.GetList; 4 | 5 | public class GetListAccountCourseListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int CourseId { get; set; } 9 | public int AccountId { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountExamResults/Commands/Delete/DeletedAccountExamResultCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.AccountExamResults.Commands.Delete; 4 | 5 | public class DeleteAccountExamResultCommandValidator : AbstractValidator 6 | { 7 | public DeleteAccountExamResultCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountExamResults/Commands/Delete/DeletedAccountExamResultResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountExamResults.Commands.Delete; 4 | 5 | public class DeletedAccountExamResultResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountExamResults/Constants/AccountExamResultsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.AccountExamResults.Constants; 2 | 3 | public static class AccountExamResultsBusinessMessages 4 | { 5 | public const string AccountExamResultNotExists = "Account exam result not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountForeignLanguageMetadatas/Commands/Delete/DeletedAccountForeignLanguageMetadataResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountForeignLanguageMetadatas.Commands.Delete; 4 | 5 | public class DeletedAccountForeignLanguageMetadataResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountForeignLanguageMetadatas/Constants/AccountForeignLanguageMetadatasBusinessMessages.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotNetReactFullStack/TobetoPlatformCleanArchitecture/6a61c6923b1c5ffb59ee7e838c038aac88705cdc/src/tobetoPlatformCleanArchitecture/Application/Features/AccountForeignLanguageMetadatas/Constants/AccountForeignLanguageMetadatasBusinessMessages.cs -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountLearningPaths/Commands/Delete/DeletedAccountLearningPathCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.AccountLearningPaths.Commands.Delete; 4 | 5 | public class DeleteAccountLearningPathCommandValidator : AbstractValidator 6 | { 7 | public DeleteAccountLearningPathCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountLearningPaths/Commands/Delete/DeletedAccountLearningPathResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountLearningPaths.Commands.Delete; 4 | 5 | public class DeletedAccountLearningPathResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountLearningPaths/Constants/AccountLearningPathsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.AccountLearningPaths.Constants; 2 | 3 | public static class AccountLearningPathsBusinessMessages 4 | { 5 | public const string AccountLearningPathNotExists = "Account learning path not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountLessons/Commands/Delete/DeletedAccountLessonCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.AccountLessons.Commands.Delete; 4 | 5 | public class DeleteAccountLessonCommandValidator : AbstractValidator 6 | { 7 | public DeleteAccountLessonCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountLessons/Commands/Delete/DeletedAccountLessonResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountLessons.Commands.Delete; 4 | 5 | public class DeletedAccountLessonResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountLessons/Constants/AccountLessonsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.AccountLessons.Constants; 2 | 3 | public static class AccountLessonsBusinessMessages 4 | { 5 | public const string AccountLessonNotExists = "Account lesson not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountRecourseDetails/Commands/Delete/DeletedAccountRecourseDetailResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountRecourseDetails.Commands.Delete; 4 | 5 | public class DeletedAccountRecourseDetailResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountRecourseDetails/Constants/AccountRecourseDetailsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.AccountRecourseDetails.Constants; 2 | 3 | public static class AccountRecourseDetailsBusinessMessages 4 | { 5 | public const string AccountRecourseDetailNotExists = "Account recourse detail not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountRecourses/Commands/Create/CreatedAccountRecourseResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountRecourses.Commands.Create; 4 | 5 | public class CreatedAccountRecourseResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int RecourseId { get; set; } 10 | public int RecourseStepId { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountRecourses/Commands/Delete/DeletedAccountRecourseCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.AccountRecourses.Commands.Delete; 4 | 5 | public class DeleteAccountRecourseCommandValidator : AbstractValidator 6 | { 7 | public DeleteAccountRecourseCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountRecourses/Commands/Delete/DeletedAccountRecourseResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountRecourses.Commands.Delete; 4 | 5 | public class DeletedAccountRecourseResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountRecourses/Commands/Update/UpdatedAccountRecourseResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountRecourses.Commands.Update; 4 | 5 | public class UpdatedAccountRecourseResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int RecourseId { get; set; } 10 | public int RecourseStepId { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountRecourses/Constants/AccountRecoursesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.AccountRecourses.Constants; 2 | 3 | public static class AccountRecoursesBusinessMessages 4 | { 5 | public const string AccountRecourseNotExists = "Account recourse not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountRecourses/Queries/GetById/GetByIdAccountRecourseResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountRecourses.Queries.GetById; 4 | 5 | public class GetByIdAccountRecourseResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int RecourseId { get; set; } 10 | public int RecourseStepId { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountRecourses/Queries/GetList/GetListAccountRecourseListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.AccountRecourses.Queries.GetList; 4 | 5 | public class GetListAccountRecourseListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int AccountId { get; set; } 9 | public int RecourseId { get; set; } 10 | public int RecourseStepId { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountSocialMediaPlatforms/Commands/Delete/DeletedAccountSocialMediaPlatformResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AccountSocialMediaPlatforms.Commands.Delete; 4 | 5 | public class DeletedAccountSocialMediaPlatformResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AccountSocialMediaPlatforms/Constants/AccountSocialMediaPlatformsBusinessRuleConstants.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Application.Features.AccountSocialMediaPlatforms.Constants 3 | { 4 | public static class AccountSocialMediaPlatformsBusinessRuleConstants 5 | { 6 | public const int AccountSocialMediaPlatformCount = 2; 7 | } 8 | } 9 | 10 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Accounts/Commands/Delete/DeletedAccountCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Accounts.Commands.Delete; 4 | 5 | public class DeleteAccountCommandValidator : AbstractValidator 6 | { 7 | public DeleteAccountCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Accounts/Commands/Delete/DeletedAccountResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Accounts.Commands.Delete; 4 | 5 | public class DeletedAccountResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Accounts/Constants/AccountsBusinessRuleConstants.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Application.Features.Accounts.Constants 3 | { 4 | public static class AccountsBusinessRuleConstants 5 | { 6 | public const int MaximumNumberOfAccountsForEachUser = 1; 7 | } 8 | } 9 | 10 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Addresses/Commands/Delete/DeletedAddressCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Addresses.Commands.Delete; 4 | 5 | public class DeleteAddressCommandValidator : AbstractValidator 6 | { 7 | public DeleteAddressCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Addresses/Commands/Delete/DeletedAddressResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Addresses.Commands.Delete; 4 | 5 | public class DeletedAddressResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Addresses/Constants/AddressesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Addresses.Constants; 2 | 3 | public static class AddressesBusinessMessages 4 | { 5 | public const string AddressNotExists = "Address not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AnnouncementTypes/Commands/Create/CreatedAnnouncementTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AnnouncementTypes.Commands.Create; 4 | 5 | public class CreatedAnnouncementTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AnnouncementTypes/Commands/Delete/DeletedAnnouncementTypeCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.AnnouncementTypes.Commands.Delete; 4 | 5 | public class DeleteAnnouncementTypeCommandValidator : AbstractValidator 6 | { 7 | public DeleteAnnouncementTypeCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AnnouncementTypes/Commands/Delete/DeletedAnnouncementTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AnnouncementTypes.Commands.Delete; 4 | 5 | public class DeletedAnnouncementTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AnnouncementTypes/Commands/Update/UpdatedAnnouncementTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AnnouncementTypes.Commands.Update; 4 | 5 | public class UpdatedAnnouncementTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AnnouncementTypes/Constants/AnnouncementTypesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.AnnouncementTypes.Constants; 2 | 3 | public static class AnnouncementTypesBusinessMessages 4 | { 5 | public const string AnnouncementTypeNotExists = "Announcement type not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AnnouncementTypes/Queries/GetById/GetByIdAnnouncementTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.AnnouncementTypes.Queries.GetById; 4 | 5 | public class GetByIdAnnouncementTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/AnnouncementTypes/Queries/GetList/GetListAnnouncementTypeListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.AnnouncementTypes.Queries.GetList; 4 | 5 | public class GetListAnnouncementTypeListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Announcements/Commands/Delete/DeletedAnnouncementCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Announcements.Commands.Delete; 4 | 5 | public class DeleteAnnouncementCommandValidator : AbstractValidator 6 | { 7 | public DeleteAnnouncementCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Announcements/Commands/Delete/DeletedAnnouncementResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Announcements.Commands.Delete; 4 | 5 | public class DeletedAnnouncementResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Announcements/Constants/AnnouncementsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Announcements.Constants; 2 | 3 | public static class AnnouncementsBusinessMessages 4 | { 5 | public const string AnnouncementNotExists = "Announcement not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Answers/Commands/Create/CreatedAnswerResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Answers.Commands.Create; 4 | 5 | public class CreatedAnswerResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int QuestionId { get; set; } 9 | public string AnswerDetail { get; set; } 10 | public bool RightAnswerBool { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Answers/Commands/Delete/DeletedAnswerCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Answers.Commands.Delete; 4 | 5 | public class DeleteAnswerCommandValidator : AbstractValidator 6 | { 7 | public DeleteAnswerCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Answers/Commands/Delete/DeletedAnswerResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Answers.Commands.Delete; 4 | 5 | public class DeletedAnswerResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Answers/Commands/Update/UpdatedAnswerResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Answers.Commands.Update; 4 | 5 | public class UpdatedAnswerResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int QuestionId { get; set; } 9 | public string AnswerDetail { get; set; } 10 | public bool RightAnswerBool { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Answers/Constants/AnswersBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Answers.Constants; 2 | 3 | public static class AnswersBusinessMessages 4 | { 5 | public const string AnswerNotExists = "Answer not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Answers/Queries/GetById/GetByIdAnswerResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Answers.Queries.GetById; 4 | 5 | public class GetByIdAnswerResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int QuestionId { get; set; } 9 | public string AnswerDetail { get; set; } 10 | public bool RightAnswerBool { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Answers/Queries/GetList/GetListAnswerListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.Answers.Queries.GetList; 4 | 5 | public class GetListAnswerListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int QuestionId { get; set; } 9 | public string AnswerDetail { get; set; } 10 | public bool RightAnswerBool { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Auth/Constants/AddressConstants.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Application.Features.Auth.Constants 3 | { 4 | public static class AddressConstants 5 | { 6 | public const int DefaultCountryId = 1; 7 | public const int DefaultCityId = 1; 8 | public const int DefaultDistrictId = 1; 9 | public const string DefaultAddressDetail = ""; 10 | 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Auth/Constants/AuthOperationClaims.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Application.Features.Auth.Constants 3 | { 4 | public static class AuthOperationClaims 5 | { 6 | public const int DefaultOperationClaimIdForEachRegistration = 3; 7 | } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Auth/Profiles/MappingProfiles.cs: -------------------------------------------------------------------------------- 1 | using Application.Features.Auth.Commands.RevokeToken; 2 | using AutoMapper; 3 | using Core.Security.Entities; 4 | 5 | namespace Application.Features.Auth.Profiles; 6 | 7 | public class MappingProfiles : Profile 8 | { 9 | public MappingProfiles() 10 | { 11 | CreateMap().ReverseMap(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Capabilities/Commands/Create/CreatedCapabilityResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Capabilities.Commands.Create; 4 | 5 | public class CreatedCapabilityResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Capabilities/Commands/Delete/DeletedCapabilityCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Capabilities.Commands.Delete; 4 | 5 | public class DeleteCapabilityCommandValidator : AbstractValidator 6 | { 7 | public DeleteCapabilityCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Capabilities/Commands/Delete/DeletedCapabilityResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Capabilities.Commands.Delete; 4 | 5 | public class DeletedCapabilityResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Capabilities/Commands/Update/UpdatedCapabilityResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Capabilities.Commands.Update; 4 | 5 | public class UpdatedCapabilityResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Capabilities/Constants/CapabilitiesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Capabilities.Constants; 2 | 3 | public static class CapabilitiesBusinessMessages 4 | { 5 | public const string CapabilityNotExists = "Capability not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Capabilities/Queries/GetById/GetByIdCapabilityResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Capabilities.Queries.GetById; 4 | 5 | public class GetByIdCapabilityResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Capabilities/Queries/GetList/GetListCapabilityListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.Capabilities.Queries.GetList; 4 | 5 | public class GetListCapabilityListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Certificates/Commands/Create/CreatedCertificateResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Certificates.Commands.Create; 4 | 5 | public class CreatedCertificateResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public string Path { get; set; } 10 | public int Priority { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Certificates/Commands/Delete/DeletedCertificateCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Certificates.Commands.Delete; 4 | 5 | public class DeleteCertificateCommandValidator : AbstractValidator 6 | { 7 | public DeleteCertificateCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Certificates/Commands/Delete/DeletedCertificateResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Certificates.Commands.Delete; 4 | 5 | public class DeletedCertificateResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Certificates/Commands/Update/UpdatedCertificateResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Certificates.Commands.Update; 4 | 5 | public class UpdatedCertificateResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public string Path { get; set; } 10 | public int Priority { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Certificates/Constants/CertificatesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Certificates.Constants; 2 | 3 | public static class CertificatesBusinessMessages 4 | { 5 | public const string CertificateNotExists = "Certificate not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Certificates/Queries/GetById/GetByIdCertificateResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Certificates.Queries.GetById; 4 | 5 | public class GetByIdCertificateResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public string Path { get; set; } 10 | public int Priority { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Certificates/Queries/GetList/GetListCertificateListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.Certificates.Queries.GetList; 4 | 5 | public class GetListCertificateListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public string Path { get; set; } 10 | public int Priority { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Cities/Commands/Create/CreatedCityResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Cities.Commands.Create; 4 | 5 | public class CreatedCityResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CountryId { get; set; } 9 | public string Name { get; set; } 10 | public int Priority { get; set; } 11 | public bool Visibility { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Cities/Commands/Delete/DeletedCityCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Cities.Commands.Delete; 4 | 5 | public class DeleteCityCommandValidator : AbstractValidator 6 | { 7 | public DeleteCityCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Cities/Commands/Delete/DeletedCityResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Cities.Commands.Delete; 4 | 5 | public class DeletedCityResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Cities/Commands/Update/UpdatedCityResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Cities.Commands.Update; 4 | 5 | public class UpdatedCityResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CountryId { get; set; } 9 | public string Name { get; set; } 10 | public int Priority { get; set; } 11 | public bool Visibility { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Cities/Constants/CitiesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Cities.Constants; 2 | 3 | public static class CitiesBusinessMessages 4 | { 5 | public const string CityNotExists = "City not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Cities/Queries/GetById/GetByIdCityResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Cities.Queries.GetById; 4 | 5 | public class GetByIdCityResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CountryId { get; set; } 9 | public string Name { get; set; } 10 | public int Priority { get; set; } 11 | public bool Visibility { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Cities/Queries/GetList/GetListCityListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.Cities.Queries.GetList; 4 | 5 | public class GetListCityListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int CountryId { get; set; } 9 | public string Name { get; set; } 10 | public int Priority { get; set; } 11 | public bool Visibility { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ClassroomExams/Commands/Create/CreatedClassroomExamResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ClassroomExams.Commands.Create; 4 | 5 | public class CreatedClassroomExamResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int ClassroomId { get; set; } 9 | public int ExamId { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ClassroomExams/Commands/Delete/DeletedClassroomExamCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.ClassroomExams.Commands.Delete; 4 | 5 | public class DeleteClassroomExamCommandValidator : AbstractValidator 6 | { 7 | public DeleteClassroomExamCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ClassroomExams/Commands/Delete/DeletedClassroomExamResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ClassroomExams.Commands.Delete; 4 | 5 | public class DeletedClassroomExamResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ClassroomExams/Commands/Update/UpdatedClassroomExamResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ClassroomExams.Commands.Update; 4 | 5 | public class UpdatedClassroomExamResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int ClassroomId { get; set; } 9 | public int ExamId { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ClassroomExams/Constants/ClassroomExamsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.ClassroomExams.Constants; 2 | 3 | public static class ClassroomExamsBusinessMessages 4 | { 5 | public const string ClassroomExamNotExists = "Classroom exam not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ClassroomExams/Queries/GetById/GetByIdClassroomExamResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ClassroomExams.Queries.GetById; 4 | 5 | public class GetByIdClassroomExamResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int ClassroomId { get; set; } 9 | public int ExamId { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ClassroomExams/Queries/GetList/GetListClassroomExamListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.ClassroomExams.Queries.GetList; 4 | 5 | public class GetListClassroomExamListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int ClassroomId { get; set; } 9 | public int ExamId { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Classrooms/Commands/Create/CreatedClassroomResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Classrooms.Commands.Create; 4 | 5 | public class CreatedClassroomResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public byte MaximumCapacity { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Classrooms/Commands/Delete/DeletedClassroomCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Classrooms.Commands.Delete; 4 | 5 | public class DeleteClassroomCommandValidator : AbstractValidator 6 | { 7 | public DeleteClassroomCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Classrooms/Commands/Delete/DeletedClassroomResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Classrooms.Commands.Delete; 4 | 5 | public class DeletedClassroomResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Classrooms/Commands/Update/UpdatedClassroomResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Classrooms.Commands.Update; 4 | 5 | public class UpdatedClassroomResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public byte MaximumCapacity { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Classrooms/Constants/ClassroomsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Classrooms.Constants; 2 | 3 | public static class ClassroomsBusinessMessages 4 | { 5 | public const string ClassroomNotExists = "Classroom not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Classrooms/Queries/GetById/GetByIdClassroomResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Classrooms.Queries.GetById; 4 | 5 | public class GetByIdClassroomResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public byte MaximumCapacity { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Classrooms/Queries/GetList/GetListClassroomListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.Classrooms.Queries.GetList; 4 | 5 | public class GetListClassroomListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public byte MaximumCapacity { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Colleges/Commands/Create/CreatedCollegeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Colleges.Commands.Create; 4 | 5 | public class CreatedCollegeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool Visibility { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Colleges/Commands/Delete/DeletedCollegeCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Colleges.Commands.Delete; 4 | 5 | public class DeleteCollegeCommandValidator : AbstractValidator 6 | { 7 | public DeleteCollegeCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Colleges/Commands/Delete/DeletedCollegeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Colleges.Commands.Delete; 4 | 5 | public class DeletedCollegeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Colleges/Commands/Update/UpdatedCollegeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Colleges.Commands.Update; 4 | 5 | public class UpdatedCollegeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool Visibility { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Colleges/Constants/CollegesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Colleges.Constants; 2 | 3 | public static class CollegesBusinessMessages 4 | { 5 | public const string CollegeNotExists = "College not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Colleges/Queries/GetById/GetByIdCollegeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Colleges.Queries.GetById; 4 | 5 | public class GetByIdCollegeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool Visibility { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Colleges/Queries/GetList/GetListCollegeListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.Colleges.Queries.GetList; 4 | 5 | public class GetListCollegeListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool Visibility { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ContractTypes/Commands/Create/CreatedContractTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ContractTypes.Commands.Create; 4 | 5 | public class CreatedContractTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool IsActive { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ContractTypes/Commands/Delete/DeletedContractTypeCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.ContractTypes.Commands.Delete; 4 | 5 | public class DeleteContractTypeCommandValidator : AbstractValidator 6 | { 7 | public DeleteContractTypeCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ContractTypes/Commands/Delete/DeletedContractTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ContractTypes.Commands.Delete; 4 | 5 | public class DeletedContractTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ContractTypes/Commands/Update/UpdatedContractTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ContractTypes.Commands.Update; 4 | 5 | public class UpdatedContractTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool IsActive { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ContractTypes/Constants/ContractTypesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.ContractTypes.Constants; 2 | 3 | public static class ContractTypesBusinessMessages 4 | { 5 | public const string ContractTypeNotExists = "Contract type not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ContractTypes/Queries/GetById/GetByIdContractTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ContractTypes.Queries.GetById; 4 | 5 | public class GetByIdContractTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool IsActive { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ContractTypes/Queries/GetList/GetListContractTypeListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.ContractTypes.Queries.GetList; 4 | 5 | public class GetListContractTypeListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool IsActive { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Contracts/Commands/Create/CreatedContractResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Contracts.Commands.Create; 4 | 5 | public class CreatedContractResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int ContractTypeId { get; set; } 9 | public string Name { get; set; } 10 | public string Path { get; set; } 11 | public bool IsActive { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Contracts/Commands/Delete/DeletedContractCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Contracts.Commands.Delete; 4 | 5 | public class DeleteContractCommandValidator : AbstractValidator 6 | { 7 | public DeleteContractCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Contracts/Commands/Delete/DeletedContractResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Contracts.Commands.Delete; 4 | 5 | public class DeletedContractResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Contracts/Commands/Update/UpdatedContractResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Contracts.Commands.Update; 4 | 5 | public class UpdatedContractResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int ContractTypeId { get; set; } 9 | public string Name { get; set; } 10 | public string Path { get; set; } 11 | public bool IsActive { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Contracts/Constants/ContractsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Contracts.Constants; 2 | 3 | public static class ContractsBusinessMessages 4 | { 5 | public const string ContractNotExists = "Contract not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Contracts/Queries/GetById/GetByIdContractResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Contracts.Queries.GetById; 4 | 5 | public class GetByIdContractResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int ContractTypeId { get; set; } 9 | public string Name { get; set; } 10 | public string Path { get; set; } 11 | public bool IsActive { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Contracts/Queries/GetList/GetListContractListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.Contracts.Queries.GetList; 4 | 5 | public class GetListContractListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int ContractTypeId { get; set; } 9 | public string Name { get; set; } 10 | public string Path { get; set; } 11 | public bool IsActive { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Countries/Commands/Create/CreatedCountryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Countries.Commands.Create; 4 | 5 | public class CreatedCountryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Countries/Commands/Delete/DeletedCountryCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Countries.Commands.Delete; 4 | 5 | public class DeleteCountryCommandValidator : AbstractValidator 6 | { 7 | public DeleteCountryCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Countries/Commands/Delete/DeletedCountryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Countries.Commands.Delete; 4 | 5 | public class DeletedCountryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Countries/Commands/Update/UpdatedCountryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Countries.Commands.Update; 4 | 5 | public class UpdatedCountryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Countries/Constants/CountriesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Countries.Constants; 2 | 3 | public static class CountriesBusinessMessages 4 | { 5 | public const string CountryNotExists = "Country not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Countries/Queries/GetById/GetByIdCountryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Countries.Queries.GetById; 4 | 5 | public class GetByIdCountryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Countries/Queries/GetList/GetListCountryListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.Countries.Queries.GetList; 4 | 5 | public class GetListCountryListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/CourseCategories/Commands/Create/CreatedCourseCategoryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.CourseCategories.Commands.Create; 4 | 5 | public class CreatedCourseCategoryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/CourseCategories/Commands/Delete/DeletedCourseCategoryCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.CourseCategories.Commands.Delete; 4 | 5 | public class DeleteCourseCategoryCommandValidator : AbstractValidator 6 | { 7 | public DeleteCourseCategoryCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/CourseCategories/Commands/Delete/DeletedCourseCategoryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.CourseCategories.Commands.Delete; 4 | 5 | public class DeletedCourseCategoryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/CourseCategories/Commands/Update/UpdatedCourseCategoryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.CourseCategories.Commands.Update; 4 | 5 | public class UpdatedCourseCategoryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/CourseCategories/Constants/CourseCategoriesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.CourseCategories.Constants; 2 | 3 | public static class CourseCategoriesBusinessMessages 4 | { 5 | public const string CourseCategoryNotExists = "Course category not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/CourseCategories/Queries/GetById/GetByIdCourseCategoryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.CourseCategories.Queries.GetById; 4 | 5 | public class GetByIdCourseCategoryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/CourseCategories/Queries/GetList/GetListCourseCategoryListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.CourseCategories.Queries.GetList; 4 | 5 | public class GetListCourseCategoryListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/CourseLearningPaths/Commands/Create/CreatedCourseLearningPathResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.CourseLearningPaths.Commands.Create; 4 | 5 | public class CreatedCourseLearningPathResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CourseId { get; set; } 9 | public int PathId { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/CourseLearningPaths/Commands/Delete/DeletedCourseLearningPathCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.CourseLearningPaths.Commands.Delete; 4 | 5 | public class DeleteCourseLearningPathCommandValidator : AbstractValidator 6 | { 7 | public DeleteCourseLearningPathCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/CourseLearningPaths/Commands/Delete/DeletedCourseLearningPathResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.CourseLearningPaths.Commands.Delete; 4 | 5 | public class DeletedCourseLearningPathResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/CourseLearningPaths/Commands/Update/UpdatedCourseLearningPathResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.CourseLearningPaths.Commands.Update; 4 | 5 | public class UpdatedCourseLearningPathResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CourseId { get; set; } 9 | public int PathId { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/CourseLearningPaths/Constants/CourseLearningPathsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.CourseLearningPaths.Constants; 2 | 3 | public static class CourseLearningPathsBusinessMessages 4 | { 5 | public const string CourseLearningPathNotExists = "Course learning path not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/CourseLearningPaths/Queries/GetById/GetByIdCourseLearningPathResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.CourseLearningPaths.Queries.GetById; 4 | 5 | public class GetByIdCourseLearningPathResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CourseId { get; set; } 9 | public int PathId { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Courses/Commands/Delete/DeletedCourseCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Courses.Commands.Delete; 4 | 5 | public class DeleteCourseCommandValidator : AbstractValidator 6 | { 7 | public DeleteCourseCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Courses/Commands/Delete/DeletedCourseResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Courses.Commands.Delete; 4 | 5 | public class DeletedCourseResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Courses/Constants/CoursesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Courses.Constants; 2 | 3 | public static class CoursesBusinessMessages 4 | { 5 | public const string CourseNotExists = "Course not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Districts/Commands/Create/CreatedDistrictResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Districts.Commands.Create; 4 | 5 | public class CreatedDistrictResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CityId { get; set; } 9 | public string Name { get; set; } 10 | public int Priority { get; set; } 11 | public bool Visibility { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Districts/Commands/Delete/DeletedDistrictCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Districts.Commands.Delete; 4 | 5 | public class DeleteDistrictCommandValidator : AbstractValidator 6 | { 7 | public DeleteDistrictCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Districts/Commands/Delete/DeletedDistrictResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Districts.Commands.Delete; 4 | 5 | public class DeletedDistrictResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Districts/Commands/Update/UpdatedDistrictResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Districts.Commands.Update; 4 | 5 | public class UpdatedDistrictResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CityId { get; set; } 9 | public string Name { get; set; } 10 | public int Priority { get; set; } 11 | public bool Visibility { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Districts/Constants/DistrictsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Districts.Constants; 2 | 3 | public static class DistrictsBusinessMessages 4 | { 5 | public const string DistrictNotExists = "District not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Districts/Queries/GetById/GetByIdDistrictResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Districts.Queries.GetById; 4 | 5 | public class GetByIdDistrictResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CityId { get; set; } 9 | public string Name { get; set; } 10 | public int Priority { get; set; } 11 | public bool Visibility { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Districts/Queries/GetList/GetListDistrictListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.Districts.Queries.GetList; 4 | 5 | public class GetListDistrictListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int CityId { get; set; } 9 | public string Name { get; set; } 10 | public int Priority { get; set; } 11 | public bool Visibility { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/EducationPrograms/Commands/Create/CreatedEducationProgramResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.EducationPrograms.Commands.Create; 4 | 5 | public class CreatedEducationProgramResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CollegeId { get; set; } 9 | public string Name { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/EducationPrograms/Commands/Delete/DeletedEducationProgramCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.EducationPrograms.Commands.Delete; 4 | 5 | public class DeleteEducationProgramCommandValidator : AbstractValidator 6 | { 7 | public DeleteEducationProgramCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/EducationPrograms/Commands/Delete/DeletedEducationProgramResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.EducationPrograms.Commands.Delete; 4 | 5 | public class DeletedEducationProgramResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/EducationPrograms/Commands/Update/UpdatedEducationProgramResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.EducationPrograms.Commands.Update; 4 | 5 | public class UpdatedEducationProgramResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CollegeId { get; set; } 9 | public string Name { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/EducationPrograms/Constants/EducationProgramsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.EducationPrograms.Constants; 2 | 3 | public static class EducationProgramsBusinessMessages 4 | { 5 | public const string EducationProgramNotExists = "Education program not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/EducationPrograms/Queries/GetById/GetByIdEducationProgramResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.EducationPrograms.Queries.GetById; 4 | 5 | public class GetByIdEducationProgramResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int CollegeId { get; set; } 9 | public string Name { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/EducationPrograms/Queries/GetList/GetListEducationProgramListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.EducationPrograms.Queries.GetList; 4 | 5 | public class GetListEducationProgramListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int CollegeId { get; set; } 9 | public string Name { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ExamQuestions/Commands/Create/CreatedExamQuestionResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ExamQuestions.Commands.Create; 4 | 5 | public class CreatedExamQuestionResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int ExamId { get; set; } 9 | public int QuestionId { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ExamQuestions/Commands/Delete/DeletedExamQuestionCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.ExamQuestions.Commands.Delete; 4 | 5 | public class DeleteExamQuestionCommandValidator : AbstractValidator 6 | { 7 | public DeleteExamQuestionCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ExamQuestions/Commands/Delete/DeletedExamQuestionResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ExamQuestions.Commands.Delete; 4 | 5 | public class DeletedExamQuestionResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ExamQuestions/Commands/Update/UpdatedExamQuestionResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ExamQuestions.Commands.Update; 4 | 5 | public class UpdatedExamQuestionResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int ExamId { get; set; } 9 | public int QuestionId { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ExamQuestions/Constants/ExamQuestionBusinessRuleConstants.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Application.Features.ExamQuestions.Constants 3 | { 4 | public static class ExamQuestionBusinessRuleConstants 5 | { 6 | public const int MaximumNumberOfExamQuestion = 100; 7 | } 8 | } 9 | 10 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ExamQuestions/Constants/ExamQuestionsBusinessMessages.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotNetReactFullStack/TobetoPlatformCleanArchitecture/6a61c6923b1c5ffb59ee7e838c038aac88705cdc/src/tobetoPlatformCleanArchitecture/Application/Features/ExamQuestions/Constants/ExamQuestionsBusinessMessages.cs -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ExamQuestions/Queries/GetById/GetByIdExamQuestionResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ExamQuestions.Queries.GetById; 4 | 5 | public class GetByIdExamQuestionResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int ExamId { get; set; } 9 | public int QuestionId { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ExamQuestions/Queries/GetList/GetListExamQuestionListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.ExamQuestions.Queries.GetList; 4 | 5 | public class GetListExamQuestionListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int ExamId { get; set; } 9 | public int QuestionId { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Exams/Commands/Delete/DeletedExamCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Exams.Commands.Delete; 4 | 5 | public class DeleteExamCommandValidator : AbstractValidator 6 | { 7 | public DeleteExamCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Exams/Commands/Delete/DeletedExamResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Exams.Commands.Delete; 4 | 5 | public class DeletedExamResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Exams/Constants/ExamsBusinessMessages.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotNetReactFullStack/TobetoPlatformCleanArchitecture/6a61c6923b1c5ffb59ee7e838c038aac88705cdc/src/tobetoPlatformCleanArchitecture/Application/Features/Exams/Constants/ExamsBusinessMessages.cs -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Experiences/Commands/Delete/DeletedExperienceCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Experiences.Commands.Delete; 4 | 5 | public class DeleteExperienceCommandValidator : AbstractValidator 6 | { 7 | public DeleteExperienceCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Experiences/Commands/Delete/DeletedExperienceResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Experiences.Commands.Delete; 4 | 5 | public class DeletedExperienceResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Experiences/Constants/ExperiencesBusinessMessages.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotNetReactFullStack/TobetoPlatformCleanArchitecture/6a61c6923b1c5ffb59ee7e838c038aac88705cdc/src/tobetoPlatformCleanArchitecture/Application/Features/Experiences/Constants/ExperiencesBusinessMessages.cs -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ForeignLanguageLevels/Commands/Delete/DeletedForeignLanguageLevelResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ForeignLanguageLevels.Commands.Delete; 4 | 5 | public class DeletedForeignLanguageLevelResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ForeignLanguageLevels/Constants/ForeignLanguageLevelsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.ForeignLanguageLevels.Constants; 2 | 3 | public static class ForeignLanguageLevelsBusinessMessages 4 | { 5 | public const string ForeignLanguageLevelNotExists = "Foreign language level not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ForeignLanguageLevels/Queries/GetList/GetListForeignLanguageLevelListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.ForeignLanguageLevels.Queries.GetList; 4 | 5 | public class GetListForeignLanguageLevelListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ForeignLanguages/Commands/Create/CreatedForeignLanguageResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ForeignLanguages.Commands.Create; 4 | 5 | public class CreatedForeignLanguageResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ForeignLanguages/Commands/Delete/DeletedForeignLanguageCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.ForeignLanguages.Commands.Delete; 4 | 5 | public class DeleteForeignLanguageCommandValidator : AbstractValidator 6 | { 7 | public DeleteForeignLanguageCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ForeignLanguages/Commands/Delete/DeletedForeignLanguageResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ForeignLanguages.Commands.Delete; 4 | 5 | public class DeletedForeignLanguageResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ForeignLanguages/Commands/Update/UpdatedForeignLanguageResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ForeignLanguages.Commands.Update; 4 | 5 | public class UpdatedForeignLanguageResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ForeignLanguages/Constants/ForeignLanguagesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.ForeignLanguages.Constants; 2 | 3 | public static class ForeignLanguagesBusinessMessages 4 | { 5 | public const string ForeignLanguageNotExists = "Foreign language not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ForeignLanguages/Queries/GetById/GetByIdForeignLanguageResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ForeignLanguages.Queries.GetById; 4 | 5 | public class GetByIdForeignLanguageResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ForeignLanguages/Queries/GetList/GetListForeignLanguageListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.ForeignLanguages.Queries.GetList; 4 | 5 | public class GetListForeignLanguageListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/GraduationStatuses/Commands/Create/CreatedGraduationStatusResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.GraduationStatuses.Commands.Create; 4 | 5 | public class CreatedGraduationStatusResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/GraduationStatuses/Commands/Delete/DeletedGraduationStatusCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.GraduationStatuses.Commands.Delete; 4 | 5 | public class DeleteGraduationStatusCommandValidator : AbstractValidator 6 | { 7 | public DeleteGraduationStatusCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/GraduationStatuses/Commands/Delete/DeletedGraduationStatusResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.GraduationStatuses.Commands.Delete; 4 | 5 | public class DeletedGraduationStatusResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/GraduationStatuses/Commands/Update/UpdatedGraduationStatusResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.GraduationStatuses.Commands.Update; 4 | 5 | public class UpdatedGraduationStatusResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/GraduationStatuses/Constants/GraduationStatusesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.GraduationStatuses.Constants; 2 | 3 | public static class GraduationStatusesBusinessMessages 4 | { 5 | public const string GraduationStatusNotExists = "Graduation status not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/GraduationStatuses/Queries/GetById/GetByIdGraduationStatusResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.GraduationStatuses.Queries.GetById; 4 | 5 | public class GetByIdGraduationStatusResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/GraduationStatuses/Queries/GetList/GetListGraduationStatusListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.GraduationStatuses.Queries.GetList; 4 | 5 | public class GetListGraduationStatusListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ImageExtensions/Commands/Create/CreatedImageExtensionResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ImageExtensions.Commands.Create; 4 | 5 | public class CreatedImageExtensionResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool IsActive { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ImageExtensions/Commands/Delete/DeletedImageExtensionCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.ImageExtensions.Commands.Delete; 4 | 5 | public class DeleteImageExtensionCommandValidator : AbstractValidator 6 | { 7 | public DeleteImageExtensionCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ImageExtensions/Commands/Delete/DeletedImageExtensionResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ImageExtensions.Commands.Delete; 4 | 5 | public class DeletedImageExtensionResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ImageExtensions/Commands/Update/UpdatedImageExtensionResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ImageExtensions.Commands.Update; 4 | 5 | public class UpdatedImageExtensionResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool IsActive { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ImageExtensions/Constants/ImageExtensionsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.ImageExtensions.Constants; 2 | 3 | public static class ImageExtensionsBusinessMessages 4 | { 5 | public const string ImageExtensionNotExists = "İmage extension not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ImageExtensions/Queries/GetById/GetByIdImageExtensionResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.ImageExtensions.Queries.GetById; 4 | 5 | public class GetByIdImageExtensionResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool IsActive { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/ImageExtensions/Queries/GetList/GetListImageExtensionListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.ImageExtensions.Queries.GetList; 4 | 5 | public class GetListImageExtensionListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool IsActive { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Images/Commands/Create/CreatedImageResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Images.Commands.Create; 4 | 5 | public class CreatedImageResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int ImageExtensionId { get; set; } 9 | public string Name { get; set; } 10 | public string Url { get; set; } 11 | public bool IsActive { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Images/Commands/Delete/DeletedImageCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Images.Commands.Delete; 4 | 5 | public class DeleteImageCommandValidator : AbstractValidator 6 | { 7 | public DeleteImageCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Images/Commands/Delete/DeletedImageResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Images.Commands.Delete; 4 | 5 | public class DeletedImageResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Images/Commands/Update/UpdatedImageResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Images.Commands.Update; 4 | 5 | public class UpdatedImageResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int ImageExtensionId { get; set; } 9 | public string Name { get; set; } 10 | public string Url { get; set; } 11 | public bool IsActive { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Images/Constants/ImagesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Images.Constants; 2 | 3 | public static class ImagesBusinessMessages 4 | { 5 | public const string ImageNotExists = "İmage not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Images/Queries/GetById/GetByIdImageResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Images.Queries.GetById; 4 | 5 | public class GetByIdImageResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int ImageExtensionId { get; set; } 9 | public string Name { get; set; } 10 | public string Url { get; set; } 11 | public bool IsActive { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Images/Queries/GetList/GetListImageListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.Images.Queries.GetList; 4 | 5 | public class GetListImageListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int ImageExtensionId { get; set; } 9 | public string Name { get; set; } 10 | public string Url { get; set; } 11 | public bool IsActive { get; set; } 12 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/LearningPathCategories/Commands/Create/CreatedLearningPathCategoryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.LearningPathCategories.Commands.Create; 4 | 5 | public class CreatedLearningPathCategoryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool IsActive { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/LearningPathCategories/Commands/Delete/DeletedLearningPathCategoryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.LearningPathCategories.Commands.Delete; 4 | 5 | public class DeletedLearningPathCategoryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/LearningPathCategories/Commands/Update/UpdatedLearningPathCategoryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.LearningPathCategories.Commands.Update; 4 | 5 | public class UpdatedLearningPathCategoryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool IsActive { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/LearningPathCategories/Constants/LearningPathCategoriesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.LearningPathCategories.Constants; 2 | 3 | public static class LearningPathCategoriesBusinessMessages 4 | { 5 | public const string LearningPathCategoryNotExists = "Learning path category not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/LearningPathCategories/Queries/GetById/GetByIdLearningPathCategoryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.LearningPathCategories.Queries.GetById; 4 | 5 | public class GetByIdLearningPathCategoryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool IsActive { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/LearningPathCategories/Queries/GetList/GetListLearningPathCategoryListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.LearningPathCategories.Queries.GetList; 4 | 5 | public class GetListLearningPathCategoryListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public bool IsActive { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/LearningPaths/Commands/Delete/DeletedLearningPathCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.LearningPaths.Commands.Delete; 4 | 5 | public class DeleteLearningPathCommandValidator : AbstractValidator 6 | { 7 | public DeleteLearningPathCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/LearningPaths/Commands/Delete/DeletedLearningPathResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.LearningPaths.Commands.Delete; 4 | 5 | public class DeletedLearningPathResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/LearningPaths/Constants/LearningPathsBusinessMessages.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotNetReactFullStack/TobetoPlatformCleanArchitecture/6a61c6923b1c5ffb59ee7e838c038aac88705cdc/src/tobetoPlatformCleanArchitecture/Application/Features/LearningPaths/Constants/LearningPathsBusinessMessages.cs -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Lessons/Commands/Delete/DeletedLessonCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Lessons.Commands.Delete; 4 | 5 | public class DeleteLessonCommandValidator : AbstractValidator 6 | { 7 | public DeleteLessonCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Lessons/Commands/Delete/DeletedLessonResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Lessons.Commands.Delete; 4 | 5 | public class DeletedLessonResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Lessons/Constants/LessonsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Lessons.Constants; 2 | 3 | public static class LessonsBusinessMessages 4 | { 5 | public const string LessonNotExists = "Lesson not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/OperationClaims/Commands/Create/CreateOperationClaimCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.OperationClaims.Commands.Create; 4 | 5 | public class CreateOperationClaimCommandValidator : AbstractValidator 6 | { 7 | public CreateOperationClaimCommandValidator() 8 | { 9 | RuleFor(c => c.Name).NotEmpty().MinimumLength(2); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/OperationClaims/Commands/Delete/DeletedOperationClaimResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.OperationClaims.Commands.Delete; 4 | 5 | public class DeletedOperationClaimResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } 9 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/OperationClaims/Commands/Update/UpdateOperationClaimCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.OperationClaims.Commands.Update; 4 | 5 | public class UpdateOperationClaimCommandValidator : AbstractValidator 6 | { 7 | public UpdateOperationClaimCommandValidator() 8 | { 9 | RuleFor(c => c.Name).NotEmpty().MinimumLength(2); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/OperationClaims/Constants/GeneralOperationClaims.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.OperationClaims.Constants; 2 | 3 | public static class GeneralOperationClaims 4 | { 5 | public const string Admin = "Admin"; 6 | public const string Instructor = "Instructor"; 7 | public const string Student = "Student"; 8 | } 9 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/OperationClaims/Constants/OperationClaimsMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.OperationClaims.Constants; 2 | 3 | public static class OperationClaimsMessages 4 | { 5 | public const string NotExists = "Operation Claim not exists."; 6 | public const string AlreadyExists = "Operation Claim already exists."; 7 | } 8 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/OrganizationTypes/Commands/Create/CreatedOrganizationTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.OrganizationTypes.Commands.Create; 4 | 5 | public class CreatedOrganizationTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/OrganizationTypes/Commands/Delete/DeletedOrganizationTypeCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.OrganizationTypes.Commands.Delete; 4 | 5 | public class DeleteOrganizationTypeCommandValidator : AbstractValidator 6 | { 7 | public DeleteOrganizationTypeCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/OrganizationTypes/Commands/Delete/DeletedOrganizationTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.OrganizationTypes.Commands.Delete; 4 | 5 | public class DeletedOrganizationTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/OrganizationTypes/Commands/Update/UpdatedOrganizationTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.OrganizationTypes.Commands.Update; 4 | 5 | public class UpdatedOrganizationTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/OrganizationTypes/Constants/OrganizationTypesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.OrganizationTypes.Constants; 2 | 3 | public static class OrganizationTypesBusinessMessages 4 | { 5 | public const string OrganizationTypeNotExists = "Organization type not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/OrganizationTypes/Queries/GetById/GetByIdOrganizationTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.OrganizationTypes.Queries.GetById; 4 | 5 | public class GetByIdOrganizationTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/OrganizationTypes/Queries/GetList/GetListOrganizationTypeListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.OrganizationTypes.Queries.GetList; 4 | 5 | public class GetListOrganizationTypeListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Organizations/Commands/Delete/DeletedOrganizationCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Organizations.Commands.Delete; 4 | 5 | public class DeleteOrganizationCommandValidator : AbstractValidator 6 | { 7 | public DeleteOrganizationCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Organizations/Commands/Delete/DeletedOrganizationResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Organizations.Commands.Delete; 4 | 5 | public class DeletedOrganizationResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Organizations/Constants/OrganizationsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Organizations.Constants; 2 | 3 | public static class OrganizationsBusinessMessages 4 | { 5 | public const string OrganizationNotExists = "Organization not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/QuestionCategories/Commands/Create/CreatedQuestionCategoryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.QuestionCategories.Commands.Create; 4 | 5 | public class CreatedQuestionCategoryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/QuestionCategories/Commands/Delete/DeletedQuestionCategoryCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.QuestionCategories.Commands.Delete; 4 | 5 | public class DeleteQuestionCategoryCommandValidator : AbstractValidator 6 | { 7 | public DeleteQuestionCategoryCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/QuestionCategories/Commands/Delete/DeletedQuestionCategoryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.QuestionCategories.Commands.Delete; 4 | 5 | public class DeletedQuestionCategoryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/QuestionCategories/Commands/Update/UpdatedQuestionCategoryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.QuestionCategories.Commands.Update; 4 | 5 | public class UpdatedQuestionCategoryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/QuestionCategories/Constants/QuestionCategoriesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.QuestionCategories.Constants; 2 | 3 | public static class QuestionCategoriesBusinessMessages 4 | { 5 | public const string QuestionCategoryNotExists = "Question category not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/QuestionCategories/Queries/GetById/GetByIdQuestionCategoryResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.QuestionCategories.Queries.GetById; 4 | 5 | public class GetByIdQuestionCategoryResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/QuestionCategories/Queries/GetList/GetListQuestionCategoryListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.QuestionCategories.Queries.GetList; 4 | 5 | public class GetListQuestionCategoryListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Questions/Commands/Create/CreatedQuestionResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Questions.Commands.Create; 4 | 5 | public class CreatedQuestionResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int QuestionCategoryId { get; set; } 9 | public string QuestionDetail { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Questions/Commands/Delete/DeletedQuestionCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Questions.Commands.Delete; 4 | 5 | public class DeleteQuestionCommandValidator : AbstractValidator 6 | { 7 | public DeleteQuestionCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Questions/Commands/Delete/DeletedQuestionResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Questions.Commands.Delete; 4 | 5 | public class DeletedQuestionResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Questions/Commands/Update/UpdatedQuestionResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Questions.Commands.Update; 4 | 5 | public class UpdatedQuestionResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int QuestionCategoryId { get; set; } 9 | public string QuestionDetail { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Questions/Constants/QuestionsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Questions.Constants; 2 | 3 | public static class QuestionsBusinessMessages 4 | { 5 | public const string QuestionNotExists = "Question not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Questions/Queries/GetById/GetByIdQuestionResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Questions.Queries.GetById; 4 | 5 | public class GetByIdQuestionResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int QuestionCategoryId { get; set; } 9 | public string QuestionDetail { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Questions/Queries/GetList/GetListQuestionListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.Questions.Queries.GetList; 4 | 5 | public class GetListQuestionListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int QuestionCategoryId { get; set; } 9 | public string QuestionDetail { get; set; } 10 | public bool IsActive { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseDetailSteps/Commands/Create/CreatedRecourseDetailStepResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.RecourseDetailSteps.Commands.Create; 4 | 5 | public class CreatedRecourseDetailStepResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public string Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseDetailSteps/Commands/Delete/DeletedRecourseDetailStepCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.RecourseDetailSteps.Commands.Delete; 4 | 5 | public class DeleteRecourseDetailStepCommandValidator : AbstractValidator 6 | { 7 | public DeleteRecourseDetailStepCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseDetailSteps/Commands/Delete/DeletedRecourseDetailStepResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.RecourseDetailSteps.Commands.Delete; 4 | 5 | public class DeletedRecourseDetailStepResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseDetailSteps/Commands/Update/UpdatedRecourseDetailStepResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.RecourseDetailSteps.Commands.Update; 4 | 5 | public class UpdatedRecourseDetailStepResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public string Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseDetailSteps/Constants/RecourseDetailStepsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.RecourseDetailSteps.Constants; 2 | 3 | public static class RecourseDetailStepsBusinessMessages 4 | { 5 | public const string RecourseDetailStepNotExists = "Recourse detail step not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseDetailSteps/Queries/GetById/GetByIdRecourseDetailStepResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.RecourseDetailSteps.Queries.GetById; 4 | 5 | public class GetByIdRecourseDetailStepResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public string Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseDetailSteps/Queries/GetList/GetListRecourseDetailStepListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.RecourseDetailSteps.Queries.GetList; 4 | 5 | public class GetListRecourseDetailStepListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public string Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseDetails/Commands/Create/CreatedRecourseDetailResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.RecourseDetails.Commands.Create; 4 | 5 | public class CreatedRecourseDetailResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public string Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseDetails/Commands/Delete/DeletedRecourseDetailCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.RecourseDetails.Commands.Delete; 4 | 5 | public class DeleteRecourseDetailCommandValidator : AbstractValidator 6 | { 7 | public DeleteRecourseDetailCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseDetails/Commands/Delete/DeletedRecourseDetailResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.RecourseDetails.Commands.Delete; 4 | 5 | public class DeletedRecourseDetailResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseDetails/Commands/Update/UpdatedRecourseDetailResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.RecourseDetails.Commands.Update; 4 | 5 | public class UpdatedRecourseDetailResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public string Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseDetails/Constants/RecourseDetailsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.RecourseDetails.Constants; 2 | 3 | public static class RecourseDetailsBusinessMessages 4 | { 5 | public const string RecourseDetailNotExists = "Recourse detail not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseDetails/Queries/GetById/GetByIdRecourseDetailResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.RecourseDetails.Queries.GetById; 4 | 5 | public class GetByIdRecourseDetailResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public string Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseDetails/Queries/GetList/GetListRecourseDetailListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.RecourseDetails.Queries.GetList; 4 | 5 | public class GetListRecourseDetailListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public string Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseSteps/Commands/Create/CreatedRecourseStepResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.RecourseSteps.Commands.Create; 4 | 5 | public class CreatedRecourseStepResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseSteps/Commands/Delete/DeletedRecourseStepCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.RecourseSteps.Commands.Delete; 4 | 5 | public class DeleteRecourseStepCommandValidator : AbstractValidator 6 | { 7 | public DeleteRecourseStepCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseSteps/Commands/Delete/DeletedRecourseStepResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.RecourseSteps.Commands.Delete; 4 | 5 | public class DeletedRecourseStepResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseSteps/Commands/Update/UpdatedRecourseStepResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.RecourseSteps.Commands.Update; 4 | 5 | public class UpdatedRecourseStepResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseSteps/Constants/RecourseStepsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.RecourseSteps.Constants; 2 | 3 | public static class RecourseStepsBusinessMessages 4 | { 5 | public const string RecourseStepNotExists = "Recourse step not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseSteps/Queries/GetById/GetByIdRecourseStepResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.RecourseSteps.Queries.GetById; 4 | 5 | public class GetByIdRecourseStepResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/RecourseSteps/Queries/GetList/GetListRecourseStepListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.RecourseSteps.Queries.GetList; 4 | 5 | public class GetListRecourseStepListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Recourses/Commands/Delete/DeletedRecourseCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Recourses.Commands.Delete; 4 | 5 | public class DeleteRecourseCommandValidator : AbstractValidator 6 | { 7 | public DeleteRecourseCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Recourses/Commands/Delete/DeletedRecourseResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Recourses.Commands.Delete; 4 | 5 | public class DeletedRecourseResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Recourses/Constants/RecoursesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Recourses.Constants; 2 | 3 | public static class RecoursesBusinessMessages 4 | { 5 | public const string RecourseNotExists = "Recourse not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/SocialMediaPlatforms/Commands/Delete/DeletedSocialMediaPlatformResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.SocialMediaPlatforms.Commands.Delete; 4 | 5 | public class DeletedSocialMediaPlatformResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/SocialMediaPlatforms/Constants/SocialMediaPlatformsBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.SocialMediaPlatforms.Constants; 2 | 3 | public static class SocialMediaPlatformsBusinessMessages 4 | { 5 | public const string SocialMediaPlatformNotExists = "Social media platform not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/SurveyTypes/Commands/Create/CreatedSurveyTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.SurveyTypes.Commands.Create; 4 | 5 | public class CreatedSurveyTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/SurveyTypes/Commands/Delete/DeletedSurveyTypeCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.SurveyTypes.Commands.Delete; 4 | 5 | public class DeleteSurveyTypeCommandValidator : AbstractValidator 6 | { 7 | public DeleteSurveyTypeCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/SurveyTypes/Commands/Delete/DeletedSurveyTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.SurveyTypes.Commands.Delete; 4 | 5 | public class DeletedSurveyTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/SurveyTypes/Commands/Update/UpdatedSurveyTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.SurveyTypes.Commands.Update; 4 | 5 | public class UpdatedSurveyTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/SurveyTypes/Constants/SurveyTypesBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.SurveyTypes.Constants; 2 | 3 | public static class SurveyTypesBusinessMessages 4 | { 5 | public const string SurveyTypeNotExists = "Survey type not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/SurveyTypes/Queries/GetById/GetByIdSurveyTypeResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.SurveyTypes.Queries.GetById; 4 | 5 | public class GetByIdSurveyTypeResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/SurveyTypes/Queries/GetList/GetListSurveyTypeListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.SurveyTypes.Queries.GetList; 4 | 5 | public class GetListSurveyTypeListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public string Name { get; set; } 9 | public int Priority { get; set; } 10 | public bool Visibility { get; set; } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Surveys/Commands/Delete/DeletedSurveyCommandValidator.cs: -------------------------------------------------------------------------------- 1 | using FluentValidation; 2 | 3 | namespace Application.Features.Surveys.Commands.Delete; 4 | 5 | public class DeleteSurveyCommandValidator : AbstractValidator 6 | { 7 | public DeleteSurveyCommandValidator() 8 | { 9 | RuleFor(c => c.Id).NotEmpty(); 10 | } 11 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Surveys/Commands/Delete/DeletedSurveyResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Surveys.Commands.Delete; 4 | 5 | public class DeletedSurveyResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Surveys/Constants/SurveysBusinessMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.Surveys.Constants; 2 | 3 | public static class SurveysBusinessMessages 4 | { 5 | public const string SurveyNotExists = "Survey not exists."; 6 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/UserOperationClaims/Commands/Create/CreatedUserOperationClaimResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.UserOperationClaims.Commands.Create; 4 | 5 | public class CreatedUserOperationClaimResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int UserId { get; set; } 9 | public int OperationClaimId { get; set; } 10 | } 11 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/UserOperationClaims/Commands/Delete/DeletedUserOperationClaimResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.UserOperationClaims.Commands.Delete; 4 | 5 | public class DeletedUserOperationClaimResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } 9 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/UserOperationClaims/Commands/Update/UpdatedUserOperationClaimResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.UserOperationClaims.Commands.Update; 4 | 5 | public class UpdatedUserOperationClaimResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int UserId { get; set; } 9 | public int OperationClaimId { get; set; } 10 | } 11 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/UserOperationClaims/Constants/UserOperationClaimsMessages.cs: -------------------------------------------------------------------------------- 1 | namespace Application.Features.UserOperationClaims.Constants; 2 | 3 | public static class UserOperationClaimsMessages 4 | { 5 | public const string UserOperationClaimNotExists = "The user hasn't the operation claim."; 6 | public const string UserOperationClaimAlreadyExists = "The user has the operation claim already."; 7 | } 8 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/UserOperationClaims/Queries/GetById/GetByIdUserOperationClaimResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.UserOperationClaims.Queries.GetById; 4 | 5 | public class GetByIdUserOperationClaimResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | public int UserId { get; set; } 9 | public int OperationClaimId { get; set; } 10 | } 11 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/UserOperationClaims/Queries/GetList/GetListUserOperationClaimListItemDto.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Dtos; 2 | 3 | namespace Application.Features.UserOperationClaims.Queries.GetList; 4 | 5 | public class GetListUserOperationClaimListItemDto : IDto 6 | { 7 | public int Id { get; set; } 8 | public int UserId { get; set; } 9 | public int OperationClaimId { get; set; } 10 | } 11 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Features/Users/Commands/Delete/DeletedUserResponse.cs: -------------------------------------------------------------------------------- 1 | using Core.Application.Responses; 2 | 3 | namespace Application.Features.Users.Commands.Delete; 4 | 5 | public class DeletedUserResponse : IResponse 6 | { 7 | public int Id { get; set; } 8 | } 9 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountAnnouncementRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountAnnouncementRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountCapabilityRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountCapabilityRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountCertificateRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountCertificateRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountClassroomRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountClassroomRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountCollegeMetadataRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountCollegeMetadataRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountContractRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountContractRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountCourseRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountCourseRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountExamResultRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountExamResultRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountForeignLanguageMetadataRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountForeignLanguageMetadataRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountLearningPathRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountLearningPathRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountLessonRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountLessonRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountRecourseDetailRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountRecourseDetailRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountRecourseRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountRecourseRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAccountSocialMediaPlatformRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAccountSocialMediaPlatformRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAddressRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAddressRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAnnouncementRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAnnouncementRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAnnouncementTypeRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAnnouncementTypeRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IAnswerRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IAnswerRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/ICapabilityRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface ICapabilityRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/ICertificateRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface ICertificateRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/ICityRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface ICityRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IClassroomExamRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IClassroomExamRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IClassroomRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IClassroomRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/ICollegeRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface ICollegeRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IContractRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IContractRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IContractTypeRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IContractTypeRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/ICountryRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface ICountryRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/ICourseCategoryRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface ICourseCategoryRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/ICourseLearningPathRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface ICourseLearningPathRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/ICourseRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface ICourseRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IDistrictRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IDistrictRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IEducationProgramRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IEducationProgramRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IEmailAuthenticatorRepository.cs: -------------------------------------------------------------------------------- 1 | using Core.Persistence.Repositories; 2 | using Core.Security.Entities; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IEmailAuthenticatorRepository : IAsyncRepository, IRepository { } 7 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IExamQuestionRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IExamQuestionRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IExamRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IExamRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IExperienceRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IExperienceRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IForeignLanguageLevelRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IForeignLanguageLevelRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IForeignLanguageRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IForeignLanguageRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IGraduationStatusRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IGraduationStatusRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IImageExtensionRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IImageExtensionRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IImageRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IImageRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/ILearningPathCategoryRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface ILearningPathCategoryRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/ILearningPathRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface ILearningPathRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/ILessonRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface ILessonRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IOperationClaimRepository.cs: -------------------------------------------------------------------------------- 1 | using Core.Persistence.Repositories; 2 | using Core.Security.Entities; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IOperationClaimRepository : IAsyncRepository, IRepository { } 7 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IOrganizationRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IOrganizationRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IOrganizationTypeRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IOrganizationTypeRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IOtpAuthenticatorRepository.cs: -------------------------------------------------------------------------------- 1 | using Core.Persistence.Repositories; 2 | using Core.Security.Entities; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IOtpAuthenticatorRepository : IAsyncRepository, IRepository { } 7 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IQuestionCategoryRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IQuestionCategoryRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IQuestionRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IQuestionRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IRecourseDetailRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IRecourseDetailRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IRecourseDetailStepRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IRecourseDetailStepRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IRecourseRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IRecourseRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IRecourseStepRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IRecourseStepRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IRefreshTokenRepository.cs: -------------------------------------------------------------------------------- 1 | using Core.Persistence.Repositories; 2 | using Core.Security.Entities; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IRefreshTokenRepository : IAsyncRepository, IRepository { } 7 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/ISocialMediaPlatformRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface ISocialMediaPlatformRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/ISurveyRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface ISurveyRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/ISurveyTypeRepository.cs: -------------------------------------------------------------------------------- 1 | using Domain.Entities; 2 | using Core.Persistence.Repositories; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface ISurveyTypeRepository : IAsyncRepository, IRepository 7 | { 8 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IUserOperationClaimRepository.cs: -------------------------------------------------------------------------------- 1 | using Core.Persistence.Repositories; 2 | using Core.Security.Entities; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IUserOperationClaimRepository : IAsyncRepository, IRepository { } 7 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Application/Services/Repositories/IUserRepository.cs: -------------------------------------------------------------------------------- 1 | using Core.Persistence.Repositories; 2 | using Core.Security.Entities; 3 | 4 | namespace Application.Services.Repositories; 5 | 6 | public interface IUserRepository : IAsyncRepository, IRepository { } 7 | -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/AccountRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class AccountRepository : EfRepositoryBase, IAccountRepository 9 | { 10 | public AccountRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/AddressRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class AddressRepository : EfRepositoryBase, IAddressRepository 9 | { 10 | public AddressRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/AnswerRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class AnswerRepository : EfRepositoryBase, IAnswerRepository 9 | { 10 | public AnswerRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/CityRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class CityRepository : EfRepositoryBase, ICityRepository 9 | { 10 | public CityRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/CollegeRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class CollegeRepository : EfRepositoryBase, ICollegeRepository 9 | { 10 | public CollegeRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/ContractRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class ContractRepository : EfRepositoryBase, IContractRepository 9 | { 10 | public ContractRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/CountryRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class CountryRepository : EfRepositoryBase, ICountryRepository 9 | { 10 | public CountryRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/CourseRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class CourseRepository : EfRepositoryBase, ICourseRepository 9 | { 10 | public CourseRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/DistrictRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class DistrictRepository : EfRepositoryBase, IDistrictRepository 9 | { 10 | public DistrictRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/ExamRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class ExamRepository : EfRepositoryBase, IExamRepository 9 | { 10 | public ExamRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/ImageRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class ImageRepository : EfRepositoryBase, IImageRepository 9 | { 10 | public ImageRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/LessonRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class LessonRepository : EfRepositoryBase, ILessonRepository 9 | { 10 | public LessonRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/QuestionRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class QuestionRepository : EfRepositoryBase, IQuestionRepository 9 | { 10 | public QuestionRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/RecourseRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class RecourseRepository : EfRepositoryBase, IRecourseRepository 9 | { 10 | public RecourseRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/SurveyRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Domain.Entities; 3 | using Core.Persistence.Repositories; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class SurveyRepository : EfRepositoryBase, ISurveyRepository 9 | { 10 | public SurveyRepository(BaseDbContext context) : base(context) 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/tobetoPlatformCleanArchitecture/Persistence/Repositories/UserRepository.cs: -------------------------------------------------------------------------------- 1 | using Application.Services.Repositories; 2 | using Core.Persistence.Repositories; 3 | using Core.Security.Entities; 4 | using Persistence.Contexts; 5 | 6 | namespace Persistence.Repositories; 7 | 8 | public class UserRepository : EfRepositoryBase, IUserRepository 9 | { 10 | public UserRepository(BaseDbContext context) 11 | : base(context) { } 12 | } 13 | -------------------------------------------------------------------------------- /tests/Application.Tests/Startup.cs: -------------------------------------------------------------------------------- 1 | using Application.Tests.DependencyResolvers; 2 | using Microsoft.Extensions.DependencyInjection; 3 | 4 | namespace Application.Tests; 5 | 6 | public sealed class Startup 7 | { 8 | public void ConfigureServices(IServiceCollection services) => services.AddUsersServices(); 9 | } 10 | --------------------------------------------------------------------------------