public List <object> GetContacts() { var list = _monogDBService.Get("Contacts"); return(list.ConvertAll(BsonTypeMapper.MapToDotNetValue)); }
public List <object> GetCompaines() { var list = _companyService.Get("Companies"); return(list.ConvertAll(BsonTypeMapper.MapToDotNetValue)); }