medicalHistory: deletion when patient is deleted
This commit is contained in:
@@ -11,7 +11,7 @@ public class SendMessageValidator : AbstractValidator<SendMessageDto>
|
||||
|
||||
RuleFor(x => x.Receiver)
|
||||
.NotEmpty().WithMessage("Receiver Id is required.").WithErrorCode(HttpStatusCodes.BadRequest.ToString());
|
||||
|
||||
|
||||
RuleFor(x => x.Message)
|
||||
.NotEmpty().WithMessage("Message is required.").WithErrorCode(HttpStatusCodes.BadRequest.ToString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user