public GenericRepository(MulakatContext context) { _context = context; }
public UnitOfWork(MulakatContext context) { _context = context; }
public UserService(IGenericRepository <User> userRepo, UnitOfWork unitOfWork, MulakatContext context) { this.userRepo = userRepo; this.unitOfWork = unitOfWork; this.context = context; }
public MovieService(IGenericRepository <Movie> movieRepo, UnitOfWork unitOfWork, MulakatContext context) { this.movieRepo = movieRepo; this.unitOfWork = unitOfWork; this.context = context; }