public async Task <IActionResult> GetRegisterPage() { return(new ContentResult { ContentType = "text/html", StatusCode = (int)Status200OK, Content = BasicTemplater.GenerateRegisterPage() }); }
private static ContentResult generateBadRequestRegister(string message) { BasicTemplater.errors.Add(message); var toReturn = new ContentResult { ContentType = "text/html", StatusCode = Status400BadRequest, Content = BasicTemplater.GenerateRegisterPage() }; return(toReturn); }