コード例 #1
0
        public ActionResult Workout(int id)
        {
            WorkoutView workout = _dal.GetWorkoutView(id);

            TempData["WorkoutID"] = id;
            return(GetAuthenticatedView("Workout", workout));
        }
コード例 #2
0
 void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     else if (instance != this)
     {
         Destroy(gameObject);
     }
 }
コード例 #3
0
        public void TestMethod1()
        {
            WorkoutView test = _db.GetWorkoutView(1);

            Assert.IsNotNull(test);
        }