public async Task <IActionResult> deletesurvey(int id) { Logger.HttpRequestOutput("DELETE", "api/survey/survey"); bool result = DataBaseService.Delete(id); return(Json(result)); }