public void AddBlogEntryFile(BlogEntryFile blogEntryFile, BlogEntry blogEntry) { var time = DateTime.Now; blogEntryFile.BlogEntryId = blogEntry.Id; blogEntryFile.Created = time; blogEntryFile.Modified = time; DataBase.Insert(blogEntryFile); }
public void UpdateBlogEntryFile(BlogEntryFile blogEntryFile, BlogEntry blogEntry) { blogEntryFile.Modified = DateTime.Now; DataBase.Update(blogEntryFile); }
public void DeleteBlogEntryFile(BlogEntryFile blogEntryFile, BlogEntry blogEntry) { throw new NotImplementedException(); }