public List <Role> GetRoles(string siteID, OwnerRank type, string key) { byte[] list = RemoteHelper.GetRoles(siteID, type, key); return(We7Helper.BytesToObject(list) as List <Role>); }
public List <Role> GetRoles(string siteID, int from, int count) { byte[] list = RemoteHelper.GetRoles(siteID, from, count); return(We7Helper.BytesToObject(list) as List <Role>); }