Пример #1
0
 private void RemoveMember(long PeopleID)
 {
     CSBC.Components.Profile.ClsHouseholds oHousehold = new CSBC.Components.Profile.ClsHouseholds();
     try
     {
         var _with5 = oHousehold;
         _with5.HouseId = 0;
         oHousehold.UpdMember(PeopleID, Master.CompanyId);
     }
     catch (Exception ex)
     {
         Session["ErrorMSG"] = ex.Message;
     }
     finally
     {
         oHousehold = null;
     }
 }
Пример #2
0
 private void DELRow(long houseId)
 {
     if (Master.AccessType == "R")
         return;
     CSBC.Components.Profile.ClsHouseholds oHouseholds = new CSBC.Components.Profile.ClsHouseholds();
     try
     {
         oHouseholds.DELRow(houseId, Master.CompanyId);
     }
     catch (Exception ex)
     {
         Session["ErrorMsg"] = ex.Message;
     }
     finally
     {
         oHouseholds = null;
     }
 }