public bool ChangeSetupStatus(string companyid, bool status) { try { ApplicationService.profile profile = appclient.Getprofile(companyid); appclient.ChangeSetup(profile.profileid, status); return(true); } catch { return(false); } }
public bool GetSetupStatus(string companyid) { ApplicationService.profile profile = appclient.Getprofile(companyid); return(profile.setup); }