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; }
public void Insert(Buzzword word) { BuzzwordRepository rep = new BuzzwordRepository("Buzzword"); rep.Add(word); }