private bool IsRegister(string websiteId, string userid) { return(HttpRequestWapper.GetBoolean(ServerApiInvoker.Domain + string.Format("tasks/IsRegister?websiteId={0}&userid={1}", websiteId, Identity.MockUser.Id), Identity.Ticket )); }
public bool HasStaff(string url) { string domain = StringHelper.GetRootDomain(StringHelper.GetDomain(url)); return(HttpRequestWapper.GetBoolean(ServerApiInvoker.Domain + string.Format("tasks/HasStaff?url={0}", domain), "" )); }