コード例 #1
0
 public PostsController(ITICommunityContext context)
 {
     _context = context;
     //Post p = new Post { UserId = 2, PostBody = "hello this is my 1st post here",Date=Convert.ToDateTime("14/02/2020") };
     //_context.Post.Add(p);
     //_context.SaveChanges();
 }
コード例 #2
0
 public UserEducationsController(ITICommunityContext context)
 {
     _context = context;
     ////UserEducation u = new UserEducation { SchoolName = "ITI", UserId = 1, Degree = "vg", FieldOfStudy = "sd" };
     ////_context.UserEducation.Add(u);
     //// _context.SaveChanges();
 }
コード例 #3
0
 public AuthController(IConfiguration _configuration, UserManager <User> _userManager,
                       SignInManager <User> _signInManager, ITICommunityContext _itiCommunityContext)
 {
     configuration       = _configuration;
     userManager         = _userManager;
     signInManager       = _signInManager;
     itiCommunityContext = _itiCommunityContext;
 }
コード例 #4
0
 public PostsController(ITICommunityContext context)
 {
     _context = context;
 }
コード例 #5
0
 public IntakesController(ITICommunityContext context)
 {
     _context = context;
 }
コード例 #6
0
 public UserContactsController(ITICommunityContext context)
 {
     _context = context;
 }
コード例 #7
0
 public FollowsController(ITICommunityContext context)
 {
     _context = context;
 }
コード例 #8
0
 public ContactTypesController(ITICommunityContext context)
 {
     _context = context;
 }
コード例 #9
0
 public UserWorkExperiencesController(ITICommunityContext context)
 {
     _context = context;
 }
コード例 #10
0
 public OnlineUsersController(ITICommunityContext context)
 {
     _context = context;
 }
コード例 #11
0
 public UserEducationsController(ITICommunityContext context)
 {
     _context = context;
 }
コード例 #12
0
 public TracksController(ITICommunityContext context)
 {
     _context = context;
 }
コード例 #13
0
 public UsersController(ITICommunityContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
コード例 #14
0
 public BranchesController(ITICommunityContext context)
 {
     _context = context;
 }