예제 #1
0
 public CommentsService(JixhDbContext db)
 {
     this.db = db;
 }
예제 #2
0
 public MovieService(JixhDbContext db)
 {
     this.db = db;
 }
예제 #3
0
 public CategoryService(JixhDbContext db)
 {
     this.db = db;
 }
예제 #4
0
 public ReviewService(JixhDbContext db)
 {
     this.db = db;
 }
예제 #5
0
        //private IRepository<ApplicationUser> _users;
        //private IRepository<Category> _categories;
        //private IRepository<Comment> _comments;
        //private IRepository<Movie> _movie;
        //private IRepository<Review> _review;


        public UnitOfWork(JixhDbContext context)
        {
            this._context = context;
        }
예제 #6
0
 public UserService(JixhDbContext db)
 {
     this.db = db;
 }