常用方法
常用方法
常用方法
常用方法
public static ServiceResponseDto DefaultInvalidModelStateWithErrorMessages(this ModelStateDictionary modelState) { return(new ServiceResponseDto { Success = false, Message = "Invalid request", Errors = modelState.ErrorMessages() }); }