Skip to content

Instantly share code, notes, and snippets.

@dileno
Created September 12, 2019 11:06
Show Gist options
  • Save dileno/d3ce9210d8c522fc8354a95a40bf80a7 to your computer and use it in GitHub Desktop.
Save dileno/d3ce9210d8c522fc8354a95a40bf80a7 to your computer and use it in GitHub Desktop.
BlogPostsController Data repository sample
_repo.Add(blogPost);
var save = await _repo.SaveAsync(blogPost);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment