예제 #1
0
 void ListSiteGroupCompleted(List <SiteGroup> siteGroupList)
 {
     siteGroupList.Insert(0, new SiteGroup());
     _siteGroup = siteGroupList;
     DataServiceHelper.ListAspUserAsync(Globals.UserLogin.UserOrganisationId, null, false, ListAllAspUserCompleted);
     //DataServiceHelper.ListSiteGroupSiteAsync(null, null, ListSiteGroupSiteCompleted);
 }
예제 #2
0
 void ListSiteGroupCompleted(List <SiteGroup> siteGroupList)
 {
     _siteGroups = siteGroupList;
     if (Globals.UserLogin.AspUser.OrganisationId.HasValue)
     {
         DataServiceHelper.ListAspUserAsync(Globals.UserLogin.AspUser.OrganisationId.Value, null, false, ListAllAspUserCompleted);
     }
     else
     {
         DataServiceHelper.ListAspUserAsync(null, null, false, ListAllAspUserCompleted);
     }
     //MembershipServiceHelper.ListUserRoleAuthAsync(null, SecurityHelper.SalesPersonRoleId, ListSalePersonsCompleted);
 }