public void OnGet(String?Title) { Blog = (BlogModel)_context.Blogs.Where(x => x.Title == Title); }
/// <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)); }
public async Task UpdateBlog(Model.BlogModel model) { await UpdateAsync(model); }