Skip to content

Commit

Permalink
feat : add product service
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikoo-Asadnejad committed Jan 12, 2024
1 parent ac42965 commit c02885d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Src/Product.Domain/Aggregates/Product/Services/IProductService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using Product.Domain.Aggregates.ProductAggregate;

namespace Product.Domain.Aggregates.Product.Services;

public interface IProductService
{
Task Add(ProductModel productModel);

Task Update(ProductModel productModel);

}
16 changes: 16 additions & 0 deletions Src/Product.Domain/Aggregates/Product/Services/ProductService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using Product.Domain.Aggregates.ProductAggregate;

namespace Product.Domain.Aggregates.Product.Services;

public sealed class ProductService : IProductService
{
public Task Add(ProductModel productModel)
{
throw new NotImplementedException();
}

public Task Update(ProductModel productModel)
{
throw new NotImplementedException();
}
}

0 comments on commit c02885d

Please sign in to comment.