/// <summary>
 /// Create the model action context using existing errors or message collection.
 /// If empty, a default instance will be created.
 /// </summary>
 /// <param name="errors">Error collection</param>
 /// <param name="messages">Message collection</param>
 public ActionContext(object item)
 {
     Item     = item;
     Errors   = new ValidationResults();
     Messages = new StatusResults();
 }
 /// <summary>
 /// Create the model action context using existing errors or message collection.
 /// If empty, a default instance will be created.
 /// </summary>
 /// <param name="errors">Error collection</param>
 /// <param name="messages">Message collection</param>
 public ActionContext()
 {
     Errors   = new ValidationResults();
     Messages = new StatusResults();
 }