2
Answers

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

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)