Add SetActiveStatusAsync, and update DTOs for active status management.
This commit is contained in:
@@ -20,7 +20,8 @@ public record UpdateStoreRequest(
|
||||
decimal Latitude,
|
||||
decimal Longitude,
|
||||
decimal OneTimeAmount,
|
||||
decimal CreditAmount);
|
||||
decimal CreditAmount,
|
||||
bool IsActive = true);
|
||||
|
||||
public record StoreResponse(
|
||||
Guid Id,
|
||||
@@ -55,4 +56,6 @@ public record SchemeEligibilityResponse(bool Eligible, string? Reason);
|
||||
|
||||
public record PatchKycStatusRequest(KycStatus KycStatus);
|
||||
|
||||
public record PatchStoreStatusRequest(bool IsActive);
|
||||
|
||||
public record StoreDashboardResponse(Guid StoreId, string Period, int OrderCount, decimal TotalOrderValue, DateTime? LastOrderDate);
|
||||
|
||||
Reference in New Issue
Block a user