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(); }
public AuthController(IConfiguration _configuration, UserManager <User> _userManager, SignInManager <User> _signInManager, ITICommunityContext _itiCommunityContext) { configuration = _configuration; userManager = _userManager; signInManager = _signInManager; itiCommunityContext = _itiCommunityContext; }
public PostsController(ITICommunityContext context) { _context = context; }
public IntakesController(ITICommunityContext context) { _context = context; }
public UserContactsController(ITICommunityContext context) { _context = context; }
public FollowsController(ITICommunityContext context) { _context = context; }
public ContactTypesController(ITICommunityContext context) { _context = context; }
public UserWorkExperiencesController(ITICommunityContext context) { _context = context; }
public OnlineUsersController(ITICommunityContext context) { _context = context; }
public UserEducationsController(ITICommunityContext context) { _context = context; }
public TracksController(ITICommunityContext context) { _context = context; }
public UsersController(ITICommunityContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public BranchesController(ITICommunityContext context) { _context = context; }