public List <Account> GetAccounts(string siteID, string departmentID, string selectName, OwnerRank type) { byte[] list = RemoteHelper.GetAccounts(siteID, departmentID, selectName, type); return(We7Helper.BytesToObject(list) as List <Account>); }