// GET: /Team/Details/5
        public ActionResult Details(int id)
        {
            //if (id == null)
            //{
            //    return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
            //}
            var TeamViewModel = new TeamViewModel(id);

            if (TeamViewModel == null)
            {
                return HttpNotFound();
            }
            return View(TeamViewModel);
        }
 private void CheckReturnedRefNumFromTeamViewMode(TeamViewModel tvm, Team team)
 {
 }
 private void CheckReturnedTeamFromTeamViewModel(TeamViewModel tvm, Team team)
 {
     TeamViewModel test = new TeamViewModel(team.Id);
     Assert.AreEqual(team, test.Team);
 }