public static BlogPosts.Buzzwords.BusinessEntities.Buzzword TranslateBuzzwordToBuzzword(BlogPosts.Buzzwords.DataContracts.Buzzword from)
 {
     BlogPosts.Buzzwords.BusinessEntities.Buzzword to = new BlogPosts.Buzzwords.BusinessEntities.Buzzword();
     to.id   = from.Id;
     to.name = from.Name;
     return(to);
 }
 public static BlogPosts.Buzzwords.BusinessEntities.Buzzword TranslateBuzzwordToBuzzword(BlogPosts.Buzzwords.DataContracts.Buzzword from)
 {
     BlogPosts.Buzzwords.BusinessEntities.Buzzword to = new BlogPosts.Buzzwords.BusinessEntities.Buzzword();
     to.id = from.Id;
     to.name = from.Name;
     return to;
 }
예제 #3
0
 public void Insert(Buzzword word)
 {
     BuzzwordRepository rep = new BuzzwordRepository("Buzzword");
     rep.Add(word);
 }