public EducationPlanToHeadlineRepository() { context = new TeamTigerContext(); }
public ProtocolRepository() { context = new TeamTigerContext(); }
/// <summary> /// Gets an invite by guid. /// </summary> /// <param name="id">Guid of the invite to get.</param> /// <returns>A model containing the invite data.</returns> /// <exception cref="InvalidOperationException">Thrown if no invite with the given guid is found.</exception> public InviteModel Get(Guid id) { var db = new TeamTigerContext(); return db.Invites.Find(id); }
public UserProfileRepository() { context = new TeamTigerContext(); }
public HeadlineRepository() { context = new TeamTigerContext(); }