refactor: Update protobuf namespaces and remove unused imports

This commit is contained in:
masoodafar-web
2025-12-06 16:42:15 +03:30
parent ba38e4ac22
commit b229a3f0b6
98 changed files with 62 additions and 205 deletions
@@ -1,5 +1,4 @@
using System.IO;
using BackOffice.BFF.Application.Common.Interfaces;
using CMSMicroservice.Protobuf.Protos.ProductImages;
using CMSMicroservice.Protobuf.Protos.ProductGalleries;
using Google.Protobuf;
@@ -1,4 +1,3 @@
using BackOffice.BFF.Application.Common.Interfaces;
using CMSMicroservice.Protobuf.Protos.Products;
namespace BackOffice.BFF.Application.ProductsCQ.Commands.BulkUpdateProductPrices;
@@ -1,4 +1,3 @@
using BackOffice.BFF.Application.Common.Interfaces;
using CMSMicroservice.Protobuf.Protos.Products;
namespace BackOffice.BFF.Application.ProductsCQ.Commands.BulkUpdateProductStock;
@@ -1,5 +1,4 @@
using System.IO;
using BackOffice.BFF.Application.Common.Interfaces;
using CMSMicroservice.Protobuf.Protos.Products;
using Google.Protobuf;
using SixLabors.ImageSharp;
@@ -1,4 +1,3 @@
using BackOffice.BFF.Application.Common.Interfaces;
using CMSMicroservice.Protobuf.Protos.Products;
namespace BackOffice.BFF.Application.ProductsCQ.Commands.DeleteProducts;
@@ -1,4 +1,3 @@
using BackOffice.BFF.Application.Common.Interfaces;
using CMSMicroservice.Protobuf.Protos.ProductGalleries;
namespace BackOffice.BFF.Application.ProductsCQ.Commands.RemoveProductImage;
@@ -1,4 +1,3 @@
using BackOffice.BFF.Application.Common.Interfaces;
using CMSMicroservice.Protobuf.Protos.Products;
namespace BackOffice.BFF.Application.ProductsCQ.Commands.ToggleProductStatus;
@@ -1,4 +1,3 @@
using BackOffice.BFF.Application.Common.Interfaces;
using CMSProductCategory = CMSMicroservice.Protobuf.Protos.ProductCategory;
namespace BackOffice.BFF.Application.ProductsCQ.Commands.UpdateCategoryProducts;
@@ -1,4 +1,3 @@
using BackOffice.BFF.Application.Common.Interfaces;
using CMSProductCategory = CMSMicroservice.Protobuf.Protos.ProductCategory;
namespace BackOffice.BFF.Application.ProductsCQ.Commands.UpdateProductCategories;
@@ -1,5 +1,4 @@
using System.IO;
using BackOffice.BFF.Application.Common.Interfaces;
using CMSMicroservice.Protobuf.Protos.Products;
using Google.Protobuf;
using SixLabors.ImageSharp;
@@ -1,4 +1,3 @@
using BackOffice.BFF.Application.Common.Interfaces;
using CMSMicroservice.Protobuf.Protos.Products;
namespace BackOffice.BFF.Application.ProductsCQ.Queries.GetAllProductsByFilter;
@@ -1,4 +1,3 @@
using BackOffice.BFF.Application.Common.Interfaces;
using CMSCategory = CMSMicroservice.Protobuf.Protos.Category;
using CMSProductCategory = CMSMicroservice.Protobuf.Protos.ProductCategory;
@@ -1,5 +1,3 @@
using BackOffice.BFF.Application.Common.Models;
namespace BackOffice.BFF.Application.ProductsCQ.Queries.GetLowStockProducts;
public record GetLowStockProductsQuery : IRequest<GetLowStockProductsResponseDto>
@@ -1,4 +1,3 @@
using BackOffice.BFF.Application.Common.Interfaces;
using CMSMicroservice.Protobuf.Protos.Products;
namespace BackOffice.BFF.Application.ProductsCQ.Queries.GetLowStockProducts;
@@ -1,4 +1,3 @@
using BackOffice.BFF.Application.Common.Interfaces;
using CMSMicroservice.Protobuf.Protos.ProductGalleries;
using CMSMicroservice.Protobuf.Protos.ProductImages;
@@ -1,4 +1,3 @@
using BackOffice.BFF.Application.Common.Interfaces;
using CMSMicroservice.Protobuf.Protos.Products;
namespace BackOffice.BFF.Application.ProductsCQ.Queries.GetProducts;
@@ -1,4 +1,3 @@
using BackOffice.BFF.Application.Common.Interfaces;
using CMSProducts = CMSMicroservice.Protobuf.Protos.Products;
using CMSProductCategory = CMSMicroservice.Protobuf.Protos.ProductCategory;