Ejemplo n.º 1
0
 public MovieLogic(IMovieContext context, IRoomContext roomContext, IApiHelper apiHelper, IAiringMovieContext airingMovieContext)
 {
     _repo             = new MovieRepo(context, apiHelper);
     _roomLogic        = new RoomLogic(roomContext);
     _airingMovieLogic = new AiringMovieLogic(airingMovieContext, roomContext);
     _reviewLogic      = new ReviewLogic();
 }
 public AiringMovieLogic(IAiringMovieContext context, IRoomContext roomContext)
 {
     _repo      = new AiringMovieRepo(context);
     _roomLogic = new RoomLogic(roomContext);
 }