feat: add IsActive field to UserClubFeatures for admin management
This commit is contained in:
+2
-2
@@ -46,12 +46,12 @@ public class CompleteOrderPaymentCommandHandler : IRequestHandler<CompleteOrderP
|
||||
{
|
||||
// Update transaction
|
||||
transaction.PaymentStatus = PaymentStatus.Success;
|
||||
transaction.PaymentDate = DateTime.UtcNow;
|
||||
transaction.PaymentDate = DateTime.Now;
|
||||
transaction.RefId = request.RefId;
|
||||
|
||||
// Update order
|
||||
order.PaymentStatus = PaymentStatus.Success;
|
||||
order.PaymentDate = DateTime.UtcNow;
|
||||
order.PaymentDate = DateTime.Now;
|
||||
order.DeliveryStatus = DeliveryStatus.InTransit;
|
||||
|
||||
// Deduct discount balance from user wallet
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ public class CreateDiscountCategoryCommandHandler : IRequestHandler<CreateDiscou
|
||||
ParentCategoryId = request.ParentCategoryId,
|
||||
SortOrder = request.SortOrder,
|
||||
IsActive = request.IsActive,
|
||||
Created = DateTime.UtcNow
|
||||
Created = DateTime.Now
|
||||
};
|
||||
|
||||
_context.DiscountCategories.Add(category);
|
||||
|
||||
Reference in New Issue
Block a user