Beispiel #1
0
 public AccountController(IAccountRepository accountRepository, IDetailRepository detailRepository, zumuziDbContext context)
 {
     _accountRepository = accountRepository;
     _detailRepository  = detailRepository;
     _userRepository    = accountRepository;
     _context           = context;
 }
Beispiel #2
0
 public MusicController(ICategoryRepository categoryRepository, IMusicRepository musicRepository,
                        ICommentRepository commentRepository, ViewModel viewModel, zumuziDbContext context, IDetailRepository detailRepository, ILikeRepository likeRepository)
 {
     _viewModel             = viewModel;
     _categoryRepository    = categoryRepository;
     _musicRepository       = musicRepository;
     _musicDetailRepository = musicRepository;
     _commentRepository     = commentRepository;
     _detailRepository      = detailRepository;
     _likeRepository        = likeRepository;
     _context = context;
 }
Beispiel #3
0
 public MusicRepository(zumuziDbContext zumuziDbContext) : base(zumuziDbContext)
 {
 }
Beispiel #4
0
 public CategoryRepository(zumuziDbContext zumuziDbContext) : base(zumuziDbContext)
 {
     _zumuziDbContext = zumuziDbContext;
 }
Beispiel #5
0
 public Repository(zumuziDbContext zumuziDbContext)
 {
     _context = zumuziDbContext;
     _dbset   = zumuziDbContext.Set <T>();
 }
Beispiel #6
0
 public CommentRepository(zumuziDbContext zumuziDbContext) : base(zumuziDbContext)
 {
 }
Beispiel #7
0
 public DetailRepository(zumuziDbContext zumuziDbContext) : base(zumuziDbContext)
 {
 }
Beispiel #8
0
 public UnitOfWork(zumuziDbContext context)
 {
     _context = context;
 }