예제 #1
0
        public void GetShowing()
        {
            var showing = _services.Get(1);

            Assert.IsNotNull(showing);
            Assert.AreEqual(showing.TheatreId, 1);
            Assert.AreEqual(showing.MovieId, 21);
        }
예제 #2
0
 public IHttpActionResult Get(int id)
 {
     return(Json(_showingService.Get(id)));
 }