Example #1
0
 public StatusResult(Status status)
 {
     Status = status;
     MimeType = "text/html";
     Encoding = Encoding.UTF8;
 }
 public RedirectResult(string location, Status status = null)
 {
     this.Location = location;
     this.Status = status ?? Status.TemporaryRedirect;
 }