public AbstractCreateRepository(BugTriageContext context) { this.context = context; }
public UnitOfWork(BugTriageContext context) { Context = context; Posts = new PostRepository(context); }
public DeveloperRepository(BugTriageContext context) : base(context) { this.context = context; }
public BugRepository(BugTriageContext context) : base(context) { this.context = context; }
public PostController(IPostRepository postRepository, IHostingEnvironment environment, BugTriageContext context) { this.postRepository = postRepository; this.environment = environment; this.unitOfWork = new UnitOfWork(context); }