feat: enhance user club feature management with sorting and creation timestamps
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ public record UpdateUserAddressCommand : IRequest<Unit>
|
||||
//شناسه
|
||||
public long Id { get; init; }
|
||||
//شناسه کاربر
|
||||
public long UserId { get; init; }
|
||||
|
||||
//عنوان
|
||||
public string Title { get; init; }
|
||||
//آدرس
|
||||
|
||||
+1
-2
@@ -5,8 +5,7 @@ public class UpdateUserAddressCommandValidator : AbstractValidator<UpdateUserAdd
|
||||
{
|
||||
RuleFor(model => model.Id)
|
||||
.NotNull();
|
||||
RuleFor(model => model.UserId)
|
||||
.NotNull();
|
||||
|
||||
RuleFor(model => model.Title)
|
||||
.NotEmpty();
|
||||
RuleFor(model => model.Address)
|
||||
|
||||
Reference in New Issue
Block a user