public override async Task <EmbededViewResult> Execute() { Model = new ServicePropertydModel(); var serviceName = this.HttpContext.Request.Query["_s"].ToString(); var propertyName = this.HttpContext.Request.Query["_p"].ToString(); Model.Service = _servicesService.GetService(serviceName); Model.Property = Model.Service.Properties.FirstOrDefault(x => x.Id == propertyName); if (this.IsSubmit()) { var result = _servicesService.InvokeProperty(Model.Service, Model.Property); Model.Errors = result.Errors; Model.ExecutionResult = result.Result; } return(await View()); }