#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(62, 2, true); WriteLiteral("\r\n"); EndContext(); #line 5 "D:\itea\homework\webregistration\lasthomework\Pages\Registration.cshtml" if (HttpContext.Request.Method == "POST") { string login = Request.Form["login"]; string password = Request.Form["password"]; string repassword = Request.Form["repassword"]; string name = Request.Form["name"]; string address = Request.Form["address"]; string age = Request.Form["age"]; string sex = Request.Form["sex"]; UserControler uc = new UserControler(); string result = uc.AddUser(login, password, repassword, name, address, age, sex); #line default #line hidden BeginContext(601, 12, true); WriteLiteral(" <h2>"); EndContext(); BeginContext(614, 6, false); #line 17 "D:\itea\homework\webregistration\lasthomework\Pages\Registration.cshtml" Write(result); #line default #line hidden EndContext(); BeginContext(620, 7, true); WriteLiteral("</h2>\r\n"); EndContext(); #line 18 "D:\itea\homework\webregistration\lasthomework\Pages\Registration.cshtml" } #line default #line hidden BeginContext(637, 119, true); WriteLiteral("<div class=\"profile\">\r\n <h1>REGISTRATION FORM</h1>\r\n <h3>Use this form to registration in DATABASE</h3>\r\n</div>\r\n"); EndContext(); BeginContext(756, 1265, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "09196b07ed734e18991296c36ef3b9ca", async() => { BeginContext(786, 1228, true); WriteLiteral(@" <div> <label for=""login"">Login (email)</label> <input type=""email"" name=""login"" autofocus required> </div> <div> <label for=""password"">Password</label> <input type=""password"" class =""pass"" name=""password"" autofocus required> </div> <div> <label for=""repassword"">RePassword</label> <input type=""password"" name=""repassword"" autofocus required> </div> <div> <label for=""name"">Name</label> <input type=""text"" name=""name"" autofocus required> </div> <div> <label for=""address"">Address</label> <input type=""text"" name=""address"" autofocus required> </div> <div> <label for=""age"">Age</label> <input type=""text"" name=""age"" autofocus required> </div> <div class=""radio""> <p><b>Gender</b></p> <label> <input type=""radio"" name=""sex"" value=""male"">Man <div class=""radio-control male""></div> </label> "); WriteLiteral(" <label>\r\n <input type=\"radio\" name=\"sex\" value=\"female\">Woman\r\n <div class=\"radio-control female\"></div>\r\n </label>\r\n </div>\r\n <button type=\"submit\">OK</button>\r\n"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); }