public IActionResult Search(Models.OrgSearchByParameters model) //Currently not working due to issue with parsing JSON data { if (ModelState.IsValid) { List <FullOrgEmbed> orgs = OrgProcessor.OrgSearchByParameters(model.navn, model.fraAntallAnsatte, model.tilAntallAnsatte, model.konkurs, model.underTvangsavviklingEllerTvangsopplosning, model.underAvvikling, model.hjemmeside).Result; return(RedirectToAction("Index")); } return(View()); }