public IActionResult CreateResult([FromBody] Result result) { if (!IsAdmin()) { return(Unauthorized()); } _resultsManager.AddResult(result); return(Json(result)); }