Add Products Protobuf project and update references

This commit is contained in:
masoodafar-web
2025-11-17 22:54:13 +03:30
parent 2446b2b76b
commit 37be756df0
8 changed files with 31 additions and 9 deletions

View File

@@ -20,6 +20,7 @@
<ItemGroup>
<ProjectReference Include="..\FrontOffice.BFF.Application\FrontOffice.BFF.Application.csproj" />
<ProjectReference Include="..\FrontOffice.BFF.Infrastructure\FrontOffice.BFF.Infrastructure.csproj" />
<ProjectReference Include="..\Protobufs\FrontOffice.BFF.Products.Protobuf\FrontOffice.BFF.Products.Protobuf.csproj" />
<ProjectReference Include="..\Protobufs\FrontOffice.BFF.Transaction.Protobuf\FrontOffice.BFF.Transaction.Protobuf.csproj" />
</ItemGroup>
<ItemGroup>

View File

@@ -1,7 +1,8 @@
using CMSMicroservice.Protobuf.Protos.Products;
using FrontOffice.BFF.WebApi.Common.Services;
using FrontOffice.BFF.Application.ProductsCQ.Queries.GetProducts;
using FrontOffice.BFF.Application.ProductsCQ.Queries.GetAllProductsByFilter;
using FrontOffice.BFF.Products.Protobuf.Protos.Products;
namespace FrontOffice.BFF.WebApi.Services;
public class ProductsService : ProductsContract.ProductsContractBase
{