public async Task <dynamic> Get()
 {
     if (_cloudantService == null)
     {
         return(new string[] { "No database connection" });
     }
     else
     {
         return(await _cloudantService.GetAllAsync());
     }
 }
Esempio n. 2
0
 public async Task <dynamic> GetAll()
 {
     return(await _cloudantService.GetAllAsync());
 }