예제 #1
0
 public virtual void RemoveLine(MovieModel m) =>
 Lines.RemoveAll(x => x.Movie.MovieId == m.MovieId);
예제 #2
0
 public virtual void AddItem(MovieModel movie)
 {
     CartLine line = Lines
                     .Where(p => p.Movie.MovieId == movie.MovieId)
                     .FirstOrDefault();
 }