Yogesh Vedpathak

Yogesh Vedpathak

  • 671
  • 1.3k
  • 164.9k

The remote name could not be resolved: '--cosmos.azure.com'

Jun 2 2020 2:01 PM
I am trying to Insert Data into Azure cosmos db
 
My code
  1. [HttpPost]  
  2. public async Task<ActionResult> AddEmployee(Employee employee)  
  3. {  
  4. await this.client.CreateDocumentAsync(UriFactory.CreateDocumentCollectionUri("Employee""Items"), employee);  
  5. return RedirectToAction("Employees");  
  6. }  

Answers (2)