Пример #1
0
        public static Boolean Delete(string CURRENT_USER, Int32 CURRENT_REGISTRY_ID, Int32 ADDRESS_ID)
        {
            Boolean objReturn          = false;
            INDIVIDUAL_ADDRESSDB objDB = new INDIVIDUAL_ADDRESSDB();

            objReturn = objDB.Delete(CURRENT_USER, CURRENT_REGISTRY_ID, ADDRESS_ID);

            return(objReturn);
        }
Пример #2
0
        public static List <INDIVIDUAL_ADDRESS> GetItems(string CURRENT_USER, Int32 CURRENT_REGISTRY_ID)
        {
            List <INDIVIDUAL_ADDRESS> objReturn = null;
            INDIVIDUAL_ADDRESSDB      objDB     = new INDIVIDUAL_ADDRESSDB();

            objReturn = objDB.GetItems(CURRENT_USER, CURRENT_REGISTRY_ID);

            return(objReturn);
        }
Пример #3
0
        public static Int32 Save(string CURRENT_USER, Int32 CURRENT_REGISTRY_ID, INDIVIDUAL_ADDRESS objSave)
        {
            Int32 objReturn            = 0;
            INDIVIDUAL_ADDRESSDB objDB = new INDIVIDUAL_ADDRESSDB();

            objReturn = objDB.Save(CURRENT_USER, CURRENT_REGISTRY_ID, objSave);

            return(objReturn);
        }
Пример #4
0
        public static INDIVIDUAL_ADDRESS GetItem(string CURRENT_USER, Int32 CURRENT_REGISTRY_ID, Int32 ADDRESS_ID)
        {
            INDIVIDUAL_ADDRESS   objReturn = null;
            INDIVIDUAL_ADDRESSDB objDB     = new INDIVIDUAL_ADDRESSDB();

            objReturn = objDB.GetItem(CURRENT_USER, CURRENT_REGISTRY_ID, ADDRESS_ID);

            return(objReturn);
        }