Пример #1
0
 public void OnGet(String?Title)
 {
     Blog = (BlogModel)_context.Blogs.Where(x => x.Title == Title);
 }
Пример #2
0
 /// <summary>
 ///		Añade un blog a la colección de entradas
 /// </summary>
 private void AddBlog(Model.BlogModel blog, OPMLEntriesCollection entries)
 {
     entries.Add(CreateEntry(blog.Name, "Blog", blog.Description, blog.URL));
 }
Пример #3
0
 public async Task UpdateBlog(Model.BlogModel model)
 {
     await UpdateAsync(model);
 }