async public Task <ActionResult> AdjustScore(int id, int adjustment) { if (adjustment == 0) { return(new HttpStatusCodeResult(400, "Adjustment cannot be 0")); } (HttpStatusCodeResult result, Score score) = await ScoreHandler.Add(id, adjustment); if (result.StatusCode == 200) { return(PartialView("EditScore", score)); } else { return(result); } }