Пример #1
0
 public bool Create(int id)
 {
     if (OrganizationModule.GetOrganizationDataByID(id) == null)
     {
         return(false);
     }
     ID = id;
     return(true);
 }
Пример #2
0
 public bool Create(int id)
 {
     if (OrganizationModule.FetchOrganizationType(id) == null)
     {
         return(false);
     }
     ID = id;
     return(true);
 }
Пример #3
0
        public OrganizationInfo(int id)
        {
            var data = OrganizationModule.GetOrganizationDataByID(id);

            if (data == null)
            {
                return;
            }
            ID        = data.ID;
            dataModel = new OrganizationDataModel();
            dataModel.Create(ID);
        }