static private FetchOrganizationInfoList ( OrganizationDataCriteria criteria ) : |
||
criteria | OrganizationDataCriteria | |
리턴 |
public static OrganizationInfoList OrganizationFetchInfoList(OrganizationDataCriteria criteria) { // this will ensure that users can only view organizations that they are assigned to criteria.UserId = ((IBusinessIdentity)Csla.ApplicationContext.User.Identity).UserId; return(OrganizationInfoList.FetchOrganizationInfoList(criteria)); }
public static OrganizationInfoList OrganizationFetchInfoList(IUser user) { return(OrganizationInfoList.FetchOrganizationInfoList( new OrganizationDataCriteria { UserId = user.UserId })); }