Пример #1
0
 public void UpdateFileNote(string fileNoteID)
 {
     try
     {
         dal = new DAL.BandNumberDAL();
         dal.UpdateFileNotes(fileNoteID);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #2
0
 public void DeleteDetails(string accountID)
 {
     try
     {
         dal = new DAL.BandNumberDAL();
         dal.DeleteAccount(accountID);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #3
0
 public void SaveDetails(DataSet dtResult, string action)
 {
     try
     {
         dal = new DAL.BandNumberDAL();
         dal.SaveDetails(dtResult.Tables[0], action);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #4
0
        public void GetDetails(string fileNoteID, string accountID, string action)
        {
            try
            {
                DataSet dtResult = new DataSet();
                dal = new DAL.BandNumberDAL();

                if (action == "Delete")
                {
                    DeleteDetails(accountID);
                }
                else
                {
                    dtResult = dal.GetDetails(accountID);
                    SaveDetails(dtResult, action);
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }