public async Task <JsonResult> Get() { var dbService = new MongoDbService("dev-challenge", "Titles", "mongodb://*****:*****@ds043348.mongolab.com:43348/dev-challenge"); var allContent = await dbService.GetContent(); return(Json(allContent)); }