public HashtagController(SocialMediaContext context, IMapper mapper, IHashtagService hashtagService, ITweetService tweetService) { _context = context; _mapper = mapper; _hashtagService = hashtagService; _tweetService = tweetService; }
public UnitOfWork(SocialMediaContext context) { _context = context; _postRepository = new PostRepository(context); _commentRepository = new BaseRepository <Comment>(context); _userRepository = new BaseRepository <User>(context); }
public TweetService(SocialMediaContext context, IHashtagService hashtagService, IUserService userService, ILogger <UserService> logger) { _context = context; _hashtagService = hashtagService; _userService = userService; _logger = logger; }
public TweetsController(IMapper mapper, SocialMediaContext context, ITweetService tweetService, IHashtagService hashtagService, IUserService userService) { _mapper = mapper; _context = context; _tweetService = tweetService; _hashtagService = hashtagService; _userService = userService; }
public SecurityRepository(SocialMediaContext context) : base(context) { }
public TweetService(SocialMediaContext context, IUserService userService, IHashtagService hashtagService) { _context = context; _userService = userService; _hashtagService = hashtagService; }
public BaseRepository(SocialMediaContext _db) { db = _db; entities = db.Set <T>(); }
public ValidateService(SocialMediaContext context) { _context = context; }
public BaseRepository(SocialMediaContext socialMediaContext) { this.socialMediaContext = socialMediaContext; entities = socialMediaContext.Set <T>(); }
public RepositoryBase() { context = new SocialMediaContext(); }
public PostRepository(SocialMediaContext context) : base(context) { }
public UnitOfWork(SocialMediaContext context) { _context = context; }
public UserService(SocialMediaContext context, ILogger <UserService> logger, ValidationService validationService) { _context = context; _logger = logger; _validationService = validationService; }
public SecurityRepository(SocialMediaContext _db) : base(_db) { }
/// <summary> /// Initialize a new instance of the /// TagRepository with the provided context. /// </summary> /// <param name="context">The context.</param> public TagRepository(SocialMediaContext context) { db = context; }
public ValidationController(SocialMediaContext socialMediaContext, IHashtagService hashtagService, IUserService userService) { _socialMediaContext = socialMediaContext; _hashtagService = hashtagService; _userService = userService; }
public TweetService(SocialMediaContext context, ILogger <TweetService> logger) { _context = context; _logger = logger; }
public ValidationService(UserService userService, SocialMediaContext context) { UserService = userService; _context = context; }
public PostRepository(SocialMediaContext socialMediaContext) { this.SocialMediaContext = socialMediaContext; }
public SecurityRepository(SocialMediaContext context) { context = _context; }
/// <summary> /// Initialize a new instance of the /// RoleRepository with the provided context. /// </summary> /// <param name="context">The context.</param> public RoleRepository(SocialMediaContext context) { db = context; }
public UserRepository(SocialMediaContext context) { _context = context; }
public UserService(SocialMediaContext context, ILogger <UserService> logger) { _context = context; _logger = logger; }
public UnitOfWorkRepository(SocialMediaContext context) { _Context = context; }
public RepositoryBase(SocialMediaContext context) { this.context = context; }
/// <summary> /// Initialize a new instance of the /// PostReplyRepository with the provided context. /// </summary> /// <param name="context">The context.</param> public PostReplyRepository(SocialMediaContext context) { db = context; }
public PostRepository(SocialMediaContext context) { _context = context; }
public UserRepository(SocialMediaContext socialMediaContext) { _socialMediaContext = socialMediaContext; }
public BaseRepository(SocialMediaContext context) { _context = context; _entities = context.Set <T>(); }
public HashtagService(SocialMediaContext context, ILogger <HashtagService> logger) { _context = context; _logger = logger; }