public UnitOfWork(ApplicationDBContext context) { this.context = context; Users = new UserRepository(context); Walls = new WallRepository(context); Sensors = new SensorRepository(context); Materials = new MaterialRepository(context); }
public UserController( UserRepository userRepository, FeedRepository feedRepository, WallRepository wallRepository, PostRepository postRepository) { _userRepository = userRepository; _feedRepository = feedRepository; _wallRepository = wallRepository; _postRepository = postRepository; }
public CircleController(CircleRepository circleRepository, UserRepository userRepository, WallRepository wallRepository) { _circleRepository = circleRepository; _userRepository = userRepository; _wallRepository = wallRepository; }
public DecorativeColumnHandler(GridRepository gridRepository) { //this.wallHandler = new WallHandler(gridRepository); this.wallRepository = new WallRepository(gridRepository); this.decorativeColumnRepository = new DecorativeColumnRepository(gridRepository); }
public WallController() { wallReppo = new WallRepository(); }
public PostController(PostRepository postRepository, WallRepository wallRepository, CommentRepository commentRepository) { _postRepository = postRepository; _wallRepository = wallRepository; _commentRepository = commentRepository; }
public WallController() { wallFactory = new WallRepository(); messageFactory = new MessageRepository(); commentFactory = new CommentRepository(); }
public WallController(WallRepository wallRepository, FeedRepository feedRepository, UserRepository userRepository) { _wallRepository = wallRepository; _feedRepository = feedRepository; _userRepository = userRepository; }