Beispiel #1
0
 //Create a RenderAction that returns a partial view that includes Borrowers List, MovieID, etc.
 public List<UserNote> _RenderUserNotes(int id)
 {
     var oops = new DVDLibaryOperations();
     //Need different method here
     return oops.ReturnUserNotes(id);
 }
Beispiel #2
0
        //Grab a dynamic list of User Notes based on the MovieID
        public List<UserNote> Get(int id)
        {
            var oops = new DVDLibaryOperations();

            return oops.ReturnUserNotes(id);
        }