public IEnumerable <string> Get() { DocumentDb db = new DocumentDb(); var rs = db.GetErrorMessages(); yield return(Newtonsoft.Json.JsonConvert.SerializeObject(rs)); }