public UserController(YvnDbContext context, IUserService userService, IMapper _mapper, SignInManager <User> signInManager, UserManager <User> usermanager) { _context = context; _userService = userService; _mapper = _mapper; _signInManager = signInManager; _usermanager = usermanager; }
public UserService(YvnDbContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public PostService(YvnDbContext context) { _context = context; }
public FriendRequestService(YvnDbContext context) { _context = context; }
public FriendService(YvnDbContext context) { _context = context; }
public PhotoService(YvnDbContext context) { _context = context; }
public CommentService(YvnDbContext context) { _context = context; }