Exemplo n.º 1
0
 public void addTagToDatabase(DBTagInfo tag)
 {
     using (DBTagContext context = new DBTagContext())
     {
         context.Tags.Add(tag);
         context.SaveChanges();
     }
 }
Exemplo n.º 2
0
 public DBTagRepository()
 {
     context = new DBTagContext();
 }