Esempio n. 1
0
 public UserController(YvnDbContext context, IUserService userService, IMapper _mapper, SignInManager <User> signInManager, UserManager <User> usermanager)
 {
     _context       = context;
     _userService   = userService;
     _mapper        = _mapper;
     _signInManager = signInManager;
     _usermanager   = usermanager;
 }
Esempio n. 2
0
 public UserService(YvnDbContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
Esempio n. 3
0
 public PostService(YvnDbContext context)
 {
     _context = context;
 }
 public FriendRequestService(YvnDbContext context)
 {
     _context = context;
 }
Esempio n. 5
0
 public FriendService(YvnDbContext context)
 {
     _context = context;
 }
Esempio n. 6
0
 public PhotoService(YvnDbContext context)
 {
     _context = context;
 }
Esempio n. 7
0
 public CommentService(YvnDbContext context)
 {
     _context = context;
 }