public RateController() { postJobRepository = new PostJobRepository(new ApplicationDbContext()); _db = new ApplicationDbContext(); }
public ClientPostsController() { postJobRepository = new PostJobRepository(new ApplicationDbContext()); savedPostsRepository = new SavedPostsRepository(new ApplicationDbContext()); }
public PostsController() { _db = new ApplicationDbContext(); postJobRepository = new PostJobRepository(new ApplicationDbContext()); savedPostsRepository = new SavedPostsRepository(new ApplicationDbContext()); }