Ejemplo n.º 1
0
 public void UpdateFileNote(string fileNoteID)
 {
     try
     {
         dal = new DAL.BandNumberDAL();
         dal.UpdateFileNotes(fileNoteID);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 2
0
 public void DeleteDetails(string accountID)
 {
     try
     {
         dal = new DAL.BandNumberDAL();
         dal.DeleteAccount(accountID);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 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;
     }
 }
Ejemplo n.º 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;
            }
        }