From 991895bcd04cd35f0316fc52d3165c7dc960895c Mon Sep 17 00:00:00 2001 From: Fuad Miftah Date: Wed, 6 Sep 2023 09:45:19 +0300 Subject: [PATCH] initial-commit --- .../Application/ApplicationServiceRegistration.cs | 6 ++++++ .../Contracts/Persistence/ICategoryRepository.cs | 6 ++++++ .../Contracts/Persistence/IGenericRepository.cs | 6 ++++++ .../Contracts/Persistence/IProductRepository.cs | 6 ++++++ .../Application/DTO/Categories/CategoryDto.cs | 6 ++++++ .../Application/DTO/Categories/CreateCategoryDto.cs | 6 ++++++ .../Application/DTO/Products/CreateProductDto.cs | 6 ++++++ .../Application/DTO/Products/ProductDto.cs | 6 ++++++ .../Categories/Handler/CreateCategoryCommandHandler.cs | 6 ++++++ .../Categories/Handler/GetCategoryRequestHandler.cs | 6 ++++++ .../Categories/Handler/UpdateCategoryCommandHandler.cs | 6 ++++++ .../Categories/Request/CreateCategoryCommand.cs | 6 ++++++ .../Features/Categories/Request/GetCategoryRequest.cs | 6 ++++++ .../Categories/Request/UpdateCategoryCommand.cs | 6 ++++++ .../Handler/Command/BookProductCommandHandler.cs | 6 ++++++ .../Handler/Command/CreateProductCommandHandler.cs | 6 ++++++ .../Handler/Command/DeleteProductCommandHandler.cs | 6 ++++++ .../Handler/Command/UpdateProductCommandHandler.cs | 6 ++++++ .../Handler/Query/GetAllProductsRequestHandler.cs | 6 ++++++ .../Handler/Query/GetProductsByNameRequestHandler.cs | 6 ++++++ .../Products/Request/Command/BookProductCommand.cs | 6 ++++++ .../Products/Request/Command/CreateProductsCommand.cs | 6 ++++++ .../Products/Request/Command/DeleteProductCommand.cs | 6 ++++++ .../Products/Request/Command/UpdateProductCommand.cs | 6 ++++++ .../Products/Request/Query/GetAllProductsRequest.cs | 9 +++++++++ .../Products/Request/Query/GetProductsByNameRequest.cs | 10 ++++++++++ .../Application/Profiles/MappingProfile.cs | 6 ++++++ backend/BackendAssessment/Domain/Common/EntityBase.cs | 6 ++++++ backend/BackendAssessment/Domain/Entites/Category.cs | 6 ++++++ backend/BackendAssessment/Domain/Entites/Product.cs | 6 ++++++ .../Infrastructure/Service/ProductDbContext.cs | 6 ++++++ .../Persistence/AuditableDbContext.cs | 6 ++++++ .../Persistence/PersistenceServiceRegistration.cs | 6 ++++++ .../BackendAssessment/Persistence/ProductDbContext.cs | 6 ++++++ .../Persistence/Repositories/CategoryRepository.cs | 6 ++++++ .../Persistence/Repositories/GenericRepository.cs | 6 ++++++ .../Persistence/Repositories/ProductRepository.cs | 6 ++++++ .../WebApi/Controllers/CategoryController.cs | 6 ++++++ .../WebApi/Controllers/ProductsController.cs | 6 ++++++ 39 files changed, 241 insertions(+) create mode 100644 backend/BackendAssessment/Application/ApplicationServiceRegistration.cs create mode 100644 backend/BackendAssessment/Application/Contracts/Persistence/ICategoryRepository.cs create mode 100644 backend/BackendAssessment/Application/Contracts/Persistence/IGenericRepository.cs create mode 100644 backend/BackendAssessment/Application/Contracts/Persistence/IProductRepository.cs create mode 100644 backend/BackendAssessment/Application/DTO/Categories/CategoryDto.cs create mode 100644 backend/BackendAssessment/Application/DTO/Categories/CreateCategoryDto.cs create mode 100644 backend/BackendAssessment/Application/DTO/Products/CreateProductDto.cs create mode 100644 backend/BackendAssessment/Application/DTO/Products/ProductDto.cs create mode 100644 backend/BackendAssessment/Application/Features/Categories/Handler/CreateCategoryCommandHandler.cs create mode 100644 backend/BackendAssessment/Application/Features/Categories/Handler/GetCategoryRequestHandler.cs create mode 100644 backend/BackendAssessment/Application/Features/Categories/Handler/UpdateCategoryCommandHandler.cs create mode 100644 backend/BackendAssessment/Application/Features/Categories/Request/CreateCategoryCommand.cs create mode 100644 backend/BackendAssessment/Application/Features/Categories/Request/GetCategoryRequest.cs create mode 100644 backend/BackendAssessment/Application/Features/Categories/Request/UpdateCategoryCommand.cs create mode 100644 backend/BackendAssessment/Application/Features/Products/Handler/Command/BookProductCommandHandler.cs create mode 100644 backend/BackendAssessment/Application/Features/Products/Handler/Command/CreateProductCommandHandler.cs create mode 100644 backend/BackendAssessment/Application/Features/Products/Handler/Command/DeleteProductCommandHandler.cs create mode 100644 backend/BackendAssessment/Application/Features/Products/Handler/Command/UpdateProductCommandHandler.cs create mode 100644 backend/BackendAssessment/Application/Features/Products/Handler/Query/GetAllProductsRequestHandler.cs create mode 100644 backend/BackendAssessment/Application/Features/Products/Handler/Query/GetProductsByNameRequestHandler.cs create mode 100644 backend/BackendAssessment/Application/Features/Products/Request/Command/BookProductCommand.cs create mode 100644 backend/BackendAssessment/Application/Features/Products/Request/Command/CreateProductsCommand.cs create mode 100644 backend/BackendAssessment/Application/Features/Products/Request/Command/DeleteProductCommand.cs create mode 100644 backend/BackendAssessment/Application/Features/Products/Request/Command/UpdateProductCommand.cs create mode 100644 backend/BackendAssessment/Application/Features/Products/Request/Query/GetAllProductsRequest.cs create mode 100644 backend/BackendAssessment/Application/Features/Products/Request/Query/GetProductsByNameRequest.cs create mode 100644 backend/BackendAssessment/Application/Profiles/MappingProfile.cs create mode 100644 backend/BackendAssessment/Domain/Common/EntityBase.cs create mode 100644 backend/BackendAssessment/Domain/Entites/Category.cs create mode 100644 backend/BackendAssessment/Domain/Entites/Product.cs create mode 100644 backend/BackendAssessment/Infrastructure/Service/ProductDbContext.cs create mode 100644 backend/BackendAssessment/Persistence/AuditableDbContext.cs create mode 100644 backend/BackendAssessment/Persistence/PersistenceServiceRegistration.cs create mode 100644 backend/BackendAssessment/Persistence/ProductDbContext.cs create mode 100644 backend/BackendAssessment/Persistence/Repositories/CategoryRepository.cs create mode 100644 backend/BackendAssessment/Persistence/Repositories/GenericRepository.cs create mode 100644 backend/BackendAssessment/Persistence/Repositories/ProductRepository.cs create mode 100644 backend/BackendAssessment/WebApi/Controllers/CategoryController.cs create mode 100644 backend/BackendAssessment/WebApi/Controllers/ProductsController.cs diff --git a/backend/BackendAssessment/Application/ApplicationServiceRegistration.cs b/backend/BackendAssessment/Application/ApplicationServiceRegistration.cs new file mode 100644 index 00000000..817204cd --- /dev/null +++ b/backend/BackendAssessment/Application/ApplicationServiceRegistration.cs @@ -0,0 +1,6 @@ +namespace Application; + +public class ApplicationServiceRegistration +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Contracts/Persistence/ICategoryRepository.cs b/backend/BackendAssessment/Application/Contracts/Persistence/ICategoryRepository.cs new file mode 100644 index 00000000..6af94f7f --- /dev/null +++ b/backend/BackendAssessment/Application/Contracts/Persistence/ICategoryRepository.cs @@ -0,0 +1,6 @@ +namespace Application.Contracts.Persistence; + +public interface ICategoryRepository +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Contracts/Persistence/IGenericRepository.cs b/backend/BackendAssessment/Application/Contracts/Persistence/IGenericRepository.cs new file mode 100644 index 00000000..a98a7bfe --- /dev/null +++ b/backend/BackendAssessment/Application/Contracts/Persistence/IGenericRepository.cs @@ -0,0 +1,6 @@ +namespace Application.Contracts.Persistence; + +public interface IGenericRepository +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Contracts/Persistence/IProductRepository.cs b/backend/BackendAssessment/Application/Contracts/Persistence/IProductRepository.cs new file mode 100644 index 00000000..6d91a14d --- /dev/null +++ b/backend/BackendAssessment/Application/Contracts/Persistence/IProductRepository.cs @@ -0,0 +1,6 @@ +namespace Application.Contracts.Persistence; + +public interface IProductRepository +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/DTO/Categories/CategoryDto.cs b/backend/BackendAssessment/Application/DTO/Categories/CategoryDto.cs new file mode 100644 index 00000000..6ced24c5 --- /dev/null +++ b/backend/BackendAssessment/Application/DTO/Categories/CategoryDto.cs @@ -0,0 +1,6 @@ +namespace Application.DTO.Categories; + +public class CategoryDto +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/DTO/Categories/CreateCategoryDto.cs b/backend/BackendAssessment/Application/DTO/Categories/CreateCategoryDto.cs new file mode 100644 index 00000000..d3e6f011 --- /dev/null +++ b/backend/BackendAssessment/Application/DTO/Categories/CreateCategoryDto.cs @@ -0,0 +1,6 @@ +namespace Application.DTO.Categories; + +public class CreateCategoryDto +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/DTO/Products/CreateProductDto.cs b/backend/BackendAssessment/Application/DTO/Products/CreateProductDto.cs new file mode 100644 index 00000000..04f77fce --- /dev/null +++ b/backend/BackendAssessment/Application/DTO/Products/CreateProductDto.cs @@ -0,0 +1,6 @@ +namespace Application.DTO.Products; + +public class CreateProductDto +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/DTO/Products/ProductDto.cs b/backend/BackendAssessment/Application/DTO/Products/ProductDto.cs new file mode 100644 index 00000000..6a34643b --- /dev/null +++ b/backend/BackendAssessment/Application/DTO/Products/ProductDto.cs @@ -0,0 +1,6 @@ +namespace Application.DTO.Products; + +public class ProductDto +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Categories/Handler/CreateCategoryCommandHandler.cs b/backend/BackendAssessment/Application/Features/Categories/Handler/CreateCategoryCommandHandler.cs new file mode 100644 index 00000000..f7331c62 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Categories/Handler/CreateCategoryCommandHandler.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Categories.Handler; + +public class CreateCategoryCommandHandler +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Categories/Handler/GetCategoryRequestHandler.cs b/backend/BackendAssessment/Application/Features/Categories/Handler/GetCategoryRequestHandler.cs new file mode 100644 index 00000000..e82a5191 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Categories/Handler/GetCategoryRequestHandler.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Categories.Handler; + +public class GetCategoryRequestHandler +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Categories/Handler/UpdateCategoryCommandHandler.cs b/backend/BackendAssessment/Application/Features/Categories/Handler/UpdateCategoryCommandHandler.cs new file mode 100644 index 00000000..56892230 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Categories/Handler/UpdateCategoryCommandHandler.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Categories.Handler; + +public class UpdateCategoryCommandHandler +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Categories/Request/CreateCategoryCommand.cs b/backend/BackendAssessment/Application/Features/Categories/Request/CreateCategoryCommand.cs new file mode 100644 index 00000000..074ae954 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Categories/Request/CreateCategoryCommand.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Categories.Request; + +public class CreateCategoryCommand +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Categories/Request/GetCategoryRequest.cs b/backend/BackendAssessment/Application/Features/Categories/Request/GetCategoryRequest.cs new file mode 100644 index 00000000..1224d195 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Categories/Request/GetCategoryRequest.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Categories.Request; + +public class GetCategoryRequest +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Categories/Request/UpdateCategoryCommand.cs b/backend/BackendAssessment/Application/Features/Categories/Request/UpdateCategoryCommand.cs new file mode 100644 index 00000000..4165c4f1 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Categories/Request/UpdateCategoryCommand.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Categories.Request; + +public class UpdateCategoryCommand +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Products/Handler/Command/BookProductCommandHandler.cs b/backend/BackendAssessment/Application/Features/Products/Handler/Command/BookProductCommandHandler.cs new file mode 100644 index 00000000..55fb4be8 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Products/Handler/Command/BookProductCommandHandler.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Products.Handler.Command; + +public class BookProductCommandHandler +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Products/Handler/Command/CreateProductCommandHandler.cs b/backend/BackendAssessment/Application/Features/Products/Handler/Command/CreateProductCommandHandler.cs new file mode 100644 index 00000000..d9184a56 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Products/Handler/Command/CreateProductCommandHandler.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Products.Handler.Command; + +public class CreateProductCommandHandler +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Products/Handler/Command/DeleteProductCommandHandler.cs b/backend/BackendAssessment/Application/Features/Products/Handler/Command/DeleteProductCommandHandler.cs new file mode 100644 index 00000000..80679682 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Products/Handler/Command/DeleteProductCommandHandler.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Products.Handler.Command; + +public class DeleteProductCommandHandler +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Products/Handler/Command/UpdateProductCommandHandler.cs b/backend/BackendAssessment/Application/Features/Products/Handler/Command/UpdateProductCommandHandler.cs new file mode 100644 index 00000000..48d0ea72 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Products/Handler/Command/UpdateProductCommandHandler.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Products.Handler.Command; + +public class UpdateProductCommandHandler +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Products/Handler/Query/GetAllProductsRequestHandler.cs b/backend/BackendAssessment/Application/Features/Products/Handler/Query/GetAllProductsRequestHandler.cs new file mode 100644 index 00000000..e36326d8 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Products/Handler/Query/GetAllProductsRequestHandler.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Products.Handler.Query; + +public class GetAllProductsRequestHandler +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Products/Handler/Query/GetProductsByNameRequestHandler.cs b/backend/BackendAssessment/Application/Features/Products/Handler/Query/GetProductsByNameRequestHandler.cs new file mode 100644 index 00000000..e2dba78a --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Products/Handler/Query/GetProductsByNameRequestHandler.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Products.Handler.Query; + +public class GetProductsByNameRequestHandler +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Products/Request/Command/BookProductCommand.cs b/backend/BackendAssessment/Application/Features/Products/Request/Command/BookProductCommand.cs new file mode 100644 index 00000000..63793549 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Products/Request/Command/BookProductCommand.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Products.Request.Command; + +public class BookProductCommand +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Products/Request/Command/CreateProductsCommand.cs b/backend/BackendAssessment/Application/Features/Products/Request/Command/CreateProductsCommand.cs new file mode 100644 index 00000000..09f546fc --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Products/Request/Command/CreateProductsCommand.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Products.Request.Command; + +public interface CreateProductsCommand +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Products/Request/Command/DeleteProductCommand.cs b/backend/BackendAssessment/Application/Features/Products/Request/Command/DeleteProductCommand.cs new file mode 100644 index 00000000..03ae3a84 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Products/Request/Command/DeleteProductCommand.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Products.Request.Command; + +public interface DeleteProductCommand +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Products/Request/Command/UpdateProductCommand.cs b/backend/BackendAssessment/Application/Features/Products/Request/Command/UpdateProductCommand.cs new file mode 100644 index 00000000..be343327 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Products/Request/Command/UpdateProductCommand.cs @@ -0,0 +1,6 @@ +namespace Application.Features.Products.Request.Command; + +public interface UpdateProductCommand +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Products/Request/Query/GetAllProductsRequest.cs b/backend/BackendAssessment/Application/Features/Products/Request/Query/GetAllProductsRequest.cs new file mode 100644 index 00000000..4e3dcd90 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Products/Request/Query/GetAllProductsRequest.cs @@ -0,0 +1,9 @@ +using Application.DTO.Products; +using MediatR; + +namespace Application.Features.Products.Request.Query; + +public interface GetAllProducts : IRequest> +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Features/Products/Request/Query/GetProductsByNameRequest.cs b/backend/BackendAssessment/Application/Features/Products/Request/Query/GetProductsByNameRequest.cs new file mode 100644 index 00000000..ab413b12 --- /dev/null +++ b/backend/BackendAssessment/Application/Features/Products/Request/Query/GetProductsByNameRequest.cs @@ -0,0 +1,10 @@ +using Application.DTO.Products; +using MediatR; + +namespace Application.Features.Products.Request.Query; + +public interface GetProductsByNameRequest : IRequest> +{ + public string Name { get; set; } + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Application/Profiles/MappingProfile.cs b/backend/BackendAssessment/Application/Profiles/MappingProfile.cs new file mode 100644 index 00000000..15152acf --- /dev/null +++ b/backend/BackendAssessment/Application/Profiles/MappingProfile.cs @@ -0,0 +1,6 @@ +namespace Application.Profiles; + +public class MappingProfile +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Domain/Common/EntityBase.cs b/backend/BackendAssessment/Domain/Common/EntityBase.cs new file mode 100644 index 00000000..b36493fa --- /dev/null +++ b/backend/BackendAssessment/Domain/Common/EntityBase.cs @@ -0,0 +1,6 @@ +namespace Domain.Common; + +public class EntityBase +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Domain/Entites/Category.cs b/backend/BackendAssessment/Domain/Entites/Category.cs new file mode 100644 index 00000000..26e023b9 --- /dev/null +++ b/backend/BackendAssessment/Domain/Entites/Category.cs @@ -0,0 +1,6 @@ +namespace Domain.Entites; + +public class Category +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Domain/Entites/Product.cs b/backend/BackendAssessment/Domain/Entites/Product.cs new file mode 100644 index 00000000..fcc581dc --- /dev/null +++ b/backend/BackendAssessment/Domain/Entites/Product.cs @@ -0,0 +1,6 @@ +namespace Domain.Entites; + +public class Product +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Infrastructure/Service/ProductDbContext.cs b/backend/BackendAssessment/Infrastructure/Service/ProductDbContext.cs new file mode 100644 index 00000000..2c1695db --- /dev/null +++ b/backend/BackendAssessment/Infrastructure/Service/ProductDbContext.cs @@ -0,0 +1,6 @@ +namespace Infrastructure.Service; + +public class ProductDbContext +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Persistence/AuditableDbContext.cs b/backend/BackendAssessment/Persistence/AuditableDbContext.cs new file mode 100644 index 00000000..aa7f9561 --- /dev/null +++ b/backend/BackendAssessment/Persistence/AuditableDbContext.cs @@ -0,0 +1,6 @@ +namespace Persistence; + +public class AuditableDbContext +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Persistence/PersistenceServiceRegistration.cs b/backend/BackendAssessment/Persistence/PersistenceServiceRegistration.cs new file mode 100644 index 00000000..0db7189b --- /dev/null +++ b/backend/BackendAssessment/Persistence/PersistenceServiceRegistration.cs @@ -0,0 +1,6 @@ +namespace Persistence; + +public class PersistenceServiceRegistration +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Persistence/ProductDbContext.cs b/backend/BackendAssessment/Persistence/ProductDbContext.cs new file mode 100644 index 00000000..49e22284 --- /dev/null +++ b/backend/BackendAssessment/Persistence/ProductDbContext.cs @@ -0,0 +1,6 @@ +namespace Persistence; + +public class ProductDbContext +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Persistence/Repositories/CategoryRepository.cs b/backend/BackendAssessment/Persistence/Repositories/CategoryRepository.cs new file mode 100644 index 00000000..4051454a --- /dev/null +++ b/backend/BackendAssessment/Persistence/Repositories/CategoryRepository.cs @@ -0,0 +1,6 @@ +namespace Persistence.Repositories; + +public class CategoryRepository +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Persistence/Repositories/GenericRepository.cs b/backend/BackendAssessment/Persistence/Repositories/GenericRepository.cs new file mode 100644 index 00000000..27811ceb --- /dev/null +++ b/backend/BackendAssessment/Persistence/Repositories/GenericRepository.cs @@ -0,0 +1,6 @@ +namespace Persistence.Repositories; + +public class GenericRepository +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/Persistence/Repositories/ProductRepository.cs b/backend/BackendAssessment/Persistence/Repositories/ProductRepository.cs new file mode 100644 index 00000000..43afd448 --- /dev/null +++ b/backend/BackendAssessment/Persistence/Repositories/ProductRepository.cs @@ -0,0 +1,6 @@ +namespace Persistence.Repositories; + +public class ProductRepository +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/WebApi/Controllers/CategoryController.cs b/backend/BackendAssessment/WebApi/Controllers/CategoryController.cs new file mode 100644 index 00000000..895fabb8 --- /dev/null +++ b/backend/BackendAssessment/WebApi/Controllers/CategoryController.cs @@ -0,0 +1,6 @@ +namespace WebApi.Controllers; + +public class CategoryControler +{ + +} \ No newline at end of file diff --git a/backend/BackendAssessment/WebApi/Controllers/ProductsController.cs b/backend/BackendAssessment/WebApi/Controllers/ProductsController.cs new file mode 100644 index 00000000..b6f1bb9f --- /dev/null +++ b/backend/BackendAssessment/WebApi/Controllers/ProductsController.cs @@ -0,0 +1,6 @@ +namespace WebApi.Controllers; + +public class ProductsController +{ + +} \ No newline at end of file