public string GetAllItems() { var db = Client.GetDatabase("cois"); var collection = db.GetCollection <Item>("item").Find(x => true).ToList(); var ser = _jsonService.Serialization(collection); var des = _jsonService.Deserialization <List <Item> >(ser); return(ser); }