Aditi.Scheduler.SchedulerModelValidationException.ValidationErrors C# (CSharp) Method

ValidationErrors() private method

private ValidationErrors ( string jsonModelErrors ) : void
jsonModelErrors string
return void
        private void ValidationErrors(string jsonModelErrors)
        {
            object errors;
            //jSon Message  The request is invalid
            //Json Error ModelState {"task.Start":["Time must be in the future"],"task.End":["Time must be in the future"],
            //"task.CronExpression":["Cron expression is invalid"]}
            errors = JsonObject.Parse(jsonModelErrors);
            ModelValidationErrors =  ((Dictionary<string, string>) errors);
        }