Ejemplo 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;
 }
Ejemplo n.º 2
0
 public UserService(YvnDbContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
Ejemplo n.º 3
0
 public PostService(YvnDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 4
0
 public FriendRequestService(YvnDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 5
0
 public FriendService(YvnDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 6
0
 public PhotoService(YvnDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 7
0
 public CommentService(YvnDbContext context)
 {
     _context = context;
 }