public IActionResult Post([FromForm] BetaModel beta) { // This fields must not have any value (robots detection). if (!string.IsNullOrEmpty(beta.Dummy) || !ModelState.IsValid) { var errors = string.Join("; ", ModelState.Values .SelectMany(x => x.Errors) .Select(x => x.ErrorMessage)); return(NotFound(errors)); } EmailSender.SendBeta(_Env, beta); AzureStorageHelper.Store(beta); return(Ok(ApplicationSettings.Configuration["Email:Messages:Beta"])); }