//[ProducesResponseType(StatusCodes.Status201Created)] //[ProducesResponseType(StatusCodes.Status400BadRequest)] public ActionResult GetTheKey() { System.Threading.Thread.Sleep(200); // Bare så man ser at noe skjer return(Ok(mySrv.GetTheKey())); }