/// <summary> /// Method creates when implement singleton service of specific service. /// </summary> /// <param name="context">databse contex</param> public UnitOfWork(ITietoFeedbackToolContext context) { _context = context; Account = new AccountRepository(_context); Question = new QuestionRepository(_context); PuzzleAnswer = new PuzzleAnswerRepository(_context); TrackingCode = new TrackingCodeRepository(_context); }
public PuzzleAnswerRepository(ITietoFeedbackToolContext context) : base(context) { }
public QuestionRepository(ITietoFeedbackToolContext context) : base(context) { }
public Repository(ITietoFeedbackToolContext context) { _context = context; }
public TrackingCodeRepository(ITietoFeedbackToolContext context) : base(context) { }
public AccountRepository(ITietoFeedbackToolContext context) : base(context) { }