public PostOptionsController( IPostOptionsRepository postOptionsRepository, IUserService userService) { _postOptionsRepository = postOptionsRepository; _userService = userService; }
public PostRepository(IUserService userService, IUnitOfWork unitOfWork, IMapper mapper, IPostOptionsRepository postOptionsRepository) { _userService = userService; _unitOfWork = unitOfWork; _mapper = mapper; _postOptionsRepository = postOptionsRepository; _currentUserId = _userService.GetCurrentUserGuid(); }