public override HttpHandlerResult Get() { var vm = new IndexVM(this); vm.Build(); return(Response.View("Index.html", vm)); }
public override HttpHandlerResult Get() { var vm = new IndexVM(); try { vm.Build(); } catch (Exception error) { vm.Errors.Add(error); } return(Response.View("Index.html", vm)); }