public void GetShowing()
        {
            var showing = _services.Get(1);

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