public EducationPlanToHeadlineRepository()
 {
     context = new TeamTigerContext();
 }
Example #2
0
 public ProtocolRepository()
 {
     context = new TeamTigerContext();
 }
Example #3
0
 /// <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);
 }
Example #4
0
 public UserProfileRepository()
 {
     context = new TeamTigerContext();
 }
Example #5
0
 public HeadlineRepository()
 {
     context = new TeamTigerContext();
 }