예제 #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();
 }
 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;
 }
 public IntakesController(ITICommunityContext context)
 {
     _context = context;
 }
예제 #6
0
 public UserContactsController(ITICommunityContext context)
 {
     _context = context;
 }
예제 #7
0
 public FollowsController(ITICommunityContext context)
 {
     _context = context;
 }
 public ContactTypesController(ITICommunityContext context)
 {
     _context = context;
 }
 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;
 }