public AddNewPublicationModel(PublicationDbContext phd, ProfileDbContext prdb) { phdStudentsDbContext = phd; profileDbContext = prdb; CurrentProfile = new Profile(); }
public RecommendationService(ProfileDbContext db) { _db = db; }
public SummaryResumeService(ProfileDbContext dbContext) { _dbContext = dbContext; }
public AllCoursesModel(ProfileDbContext pdc, CourseDbContext cdc) { profileDbContext = pdc; courseDbContext = cdc; CurrentProfile = new Profile(); }
public CourseResumeService(ProfileDbContext dbContext) { _dbContext = dbContext; }
public SkillService(ProfileDbContext db) { _db = db; }
private static void AddIdProviders(ProfileDbContext context) { if (!context.Endpoints.Any()) { context.Endpoints.AddRange(new[] { new Endpoint { CreateDateTime = DateTime.UtcNow, Description = "simple identity server", Name = "simpleidserver", Url = "http://localhost:60000/.well-known/openid-configuration", Type = (int)EndpointTypes.OPENID, ManagerUrl = "http://localhost:60003/.well-known/openidmanager-configuration", Order = 1 }, new Endpoint { CreateDateTime = DateTime.UtcNow, Description = "authorization server", Name = "authserver", Url = "http://localhost:60004/.well-known/uma2-configuration", Type = (int)EndpointTypes.AUTH, ManagerUrl = "http://localhost:60007/.well-known/openidmanager-configuration", Order = 1 }, new Endpoint { CreateDateTime = DateTime.UtcNow, Description = "scim server", Name = "scimserver", Url = "http://localhost:60001", Type = (int)EndpointTypes.SCIM, ManagerUrl = "http://localhost:60004/.well-known/uma2-configuration", Order = 1 }, new Endpoint { CreateDateTime = DateTime.UtcNow, Description = "fake simple identity server", Name = "fakesimpleidserver", Url = "http://fake:60000/.well-known/openid-configuration", Type = (int)EndpointTypes.OPENID, ManagerUrl = "http://fake:60003/.well-known/openidmanager-configuration", Order = 2 }, new Endpoint { CreateDateTime = DateTime.UtcNow, Description = "fake authorization server", Name = "fakeauthserver", Url = "http://fake:60004/.well-known/uma2-configuration", ManagerUrl = "http://fake:60004/.well-known/uma2-configuration", Type = (int)EndpointTypes.AUTH, Order = 1 }, new Endpoint { CreateDateTime = DateTime.UtcNow, Description = "fakescim server", Name = "fakescimserver", Url = "http://fake:60001/ServiceProviderConfig", Type = (int)EndpointTypes.SCIM, Order = 1 } }); } }
public ResumeService(ProfileDbContext db) { _db = db; }
public StreamService(ProfileDbContext db) { _db = db; }
public ArticleTypeService(ProfileDbContext context) { _Context = context; }
public UserInfoResumeService(ProfileDbContext dbContext) { _dbContext = dbContext; }
public ErrorModel(ProfileDbContext pdb) { profileDbContext = pdb; CurrentProfile = new Profile(); }
public SkillResumeService(ProfileDbContext dbContext) { _dbContext = dbContext; }
protected GenericRepository(ProfileDbContext dataContext) { _dataContext = dataContext; _table = dataContext.Set <TEntity>(); }
public EducationService(ProfileDbContext db) { _db = db; }
public ProfileController(ProfileDbContext db) { _db = db; }
public RecommendationResumeService(ProfileDbContext dbContext) { _dbContext = dbContext; }
public SummaryService(ProfileDbContext db) { _db = db; }
public MyCoursesController(ProfileDbContext context) { _context = context; }
public PositionRepository(ProfileDbContext context) : base(context) { UnitOfWork = context; }
public ProfileManageController(ProfileDbContext context, UserManager <ApplicationUser> userManager) { _profileDbContext = context; _userManager = userManager; }
public HomeController(ProfileDbContext dbContext) { _db = dbContext; }
public COsmosDbService(ProfileDbContext ctx) { this.ctx = ctx; // this will makes sure that the database is created ctx.Database.EnsureCreated(); }
public static void Initialize(ProfileDbContext context) { IList <Stream> streams = new List <Stream> { new Stream { StreamFullName = "Android Developer", StreamShortName = "AD" }, new Stream { StreamFullName = "Java Automated Testing", StreamShortName = "AT" }, new Stream { StreamFullName = "Business Analyst", StreamShortName = "BA" }, new Stream { StreamFullName = "C++ Developer", StreamShortName = "CD" }, new Stream { StreamFullName = "Front-end", StreamShortName = "FD" }, new Stream { StreamFullName = "Java Developer", StreamShortName = "JD" }, new Stream { StreamFullName = "ASP.NET Developer", StreamShortName = "ND" }, new Stream { StreamFullName = "iOS Developer", StreamShortName = "ID" }, new Stream { StreamFullName = "PHP Developer", StreamShortName = "PD" }, new Stream { StreamFullName = "Python Developer", StreamShortName = "PT" }, new Stream { StreamFullName = "Python Automated Testing", StreamShortName = "PT2" }, new Stream { StreamFullName = "Software Testing", StreamShortName = "ST" }, new Stream { StreamFullName = "UI/UX Designer", StreamShortName = "UI/UX" } }; foreach (Stream str in streams) { var existingStream = context.Streams.FirstOrDefault(s => s.StreamShortName == str.StreamShortName); if (existingStream != null) { existingStream.StreamFullName = str.StreamFullName; existingStream.StreamShortName = str.StreamShortName; context.Streams.Update(existingStream); } else { context.Streams.Add(str); } } context.SaveChanges(); }
public UserDetailsRepository(ProfileDbContext dataContext) : base(dataContext) { }
public ForeignLanguageResumeService(ProfileDbContext dbContext) { _dbContext = dbContext; }
public ProfileRepository(ProfileDbContext context) { _context = context; _entities = context.Set <T>(); }
public CountryRepository(ProfileDbContext dataContext) : base(dataContext) { }
public CreateRequestServiceCommandHandler(ProfileDbContext profileDbContext) { _profileDbContext = profileDbContext; }
public DateService(ProfileDbContext db) { _db = db; }