Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assessment(AASTU-backend): Fuad Miftah #84

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application;

public class ApplicationServiceRegistration
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Contracts.Persistence;

public interface ICategoryRepository
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Contracts.Persistence;

public interface IGenericRepository
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Contracts.Persistence;

public interface IProductRepository
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.DTO.Categories;

public class CategoryDto
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.DTO.Categories;

public class CreateCategoryDto
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.DTO.Products;

public class CreateProductDto
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.DTO.Products;

public class ProductDto
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Categories.Handler;

public class CreateCategoryCommandHandler
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Categories.Handler;

public class GetCategoryRequestHandler
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Categories.Handler;

public class UpdateCategoryCommandHandler
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Categories.Request;

public class CreateCategoryCommand
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Categories.Request;

public class GetCategoryRequest
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Categories.Request;

public class UpdateCategoryCommand
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Products.Handler.Command;

public class BookProductCommandHandler
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Products.Handler.Command;

public class CreateProductCommandHandler
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Products.Handler.Command;

public class DeleteProductCommandHandler
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Products.Handler.Command;

public class UpdateProductCommandHandler
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Products.Handler.Query;

public class GetAllProductsRequestHandler
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Products.Handler.Query;

public class GetProductsByNameRequestHandler
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Products.Request.Command;

public class BookProductCommand
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Products.Request.Command;

public interface CreateProductsCommand
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Products.Request.Command;

public interface DeleteProductCommand
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Features.Products.Request.Command;

public interface UpdateProductCommand
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using Application.DTO.Products;
using MediatR;

namespace Application.Features.Products.Request.Query;

public interface GetAllProducts : IRequest<List<ProductDto>>
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using Application.DTO.Products;
using MediatR;

namespace Application.Features.Products.Request.Query;

public interface GetProductsByNameRequest : IRequest<List<ProductDto>>
{
public string Name { get; set; }

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Application.Profiles;

public class MappingProfile
{

}
6 changes: 6 additions & 0 deletions backend/BackendAssessment/Domain/Common/EntityBase.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Domain.Common;

public class EntityBase
{

}
6 changes: 6 additions & 0 deletions backend/BackendAssessment/Domain/Entites/Category.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Domain.Entites;

public class Category
{

}
6 changes: 6 additions & 0 deletions backend/BackendAssessment/Domain/Entites/Product.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Domain.Entites;

public class Product
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Infrastructure.Service;

public class ProductDbContext
{

}
6 changes: 6 additions & 0 deletions backend/BackendAssessment/Persistence/AuditableDbContext.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Persistence;

public class AuditableDbContext
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Persistence;

public class PersistenceServiceRegistration
{

}
6 changes: 6 additions & 0 deletions backend/BackendAssessment/Persistence/ProductDbContext.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Persistence;

public class ProductDbContext
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Persistence.Repositories;

public class CategoryRepository
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Persistence.Repositories;

public class GenericRepository
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Persistence.Repositories;

public class ProductRepository
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace WebApi.Controllers;

public class CategoryControler
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace WebApi.Controllers;

public class ProductsController
{

}