public ActionResult Workout(int id) { WorkoutView workout = _dal.GetWorkoutView(id); TempData["WorkoutID"] = id; return(GetAuthenticatedView("Workout", workout)); }
void Awake() { if (instance == null) { instance = this; } else if (instance != this) { Destroy(gameObject); } }
public void TestMethod1() { WorkoutView test = _db.GetWorkoutView(1); Assert.IsNotNull(test); }