public async Task <CosmosResponse <EmbeddedBlog> > UpdateBlog(EmbeddedBlog blog) { return(await blogsRepository.AddOrUpdateAsync(blog, Constants.EmbeddedBlogTypeKey)); }
public async Task <CosmosResponse <EmbeddedBlog> > CreateBlog(EmbeddedBlog blog) { return(await blogsRepository.AddAsync(blog)); }