2025-12-02 03:30:36 +03:30
|
|
|
using CMSMicroservice.Application.Common.Interfaces;
|
|
|
|
|
using CMSMicroservice.Application.Common.Models;
|
|
|
|
|
using CMSMicroservice.Domain.Enums;
|
|
|
|
|
using MediatR;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
namespace CMSMicroservice.Application.PackageCQ.Commands.PurchasePackage;
|
2025-12-02 03:30:36 +03:30
|
|
|
|
|
|
|
|
/// <summary>
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
/// دستور خرید پکیج از طریق درگاه بانکی
|
2025-12-02 03:30:36 +03:30
|
|
|
/// </summary>
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
public class PurchasePackageCommand : IRequest<PaymentInitiateResult>
|
2025-12-02 03:30:36 +03:30
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// شناسه کاربر
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long UserId { get; set; }
|
|
|
|
|
}
|