public ActionResult FinishTest(int testId) { var success = _interviewService.FinishTest(testId); if (success) { return(StatusCode((int)HttpStatusCode.OK)); } return(NotFound("No such test")); }