public EducationPlanToHeadlineRepository()
 {
     context = new TeamTigerContext();
 }
Esempio n. 2
0
 public ProtocolRepository()
 {
     context = new TeamTigerContext();
 }
Esempio n. 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);
 }
Esempio n. 4
0
 public UserProfileRepository()
 {
     context = new TeamTigerContext();
 }
Esempio n. 5
0
 public HeadlineRepository()
 {
     context = new TeamTigerContext();
 }