public void UpdateFileNote(string fileNoteID) { try { dal = new DAL.ClubDAL(); dal.UpdateFileNotes(fileNoteID); } catch (Exception ex) { throw ex; } }
public void DeleteDetails(string accountID) { try { dal = new DAL.ClubDAL(); dal.DeleteAccount(accountID); } catch (Exception ex) { throw ex; } }
public void SaveDetails(DataSet dtResult, string action) { try { dal = new DAL.ClubDAL(); dal.SaveDetails(dtResult.Tables[0], action); } catch (Exception ex) { throw ex; } }
public void GetDetails(string fileNoteID, string accountID, string action) { try { DataSet dtResult = new DataSet(); dal = new DAL.ClubDAL(); if (action == "Delete") { DeleteDetails(accountID); } else { dtResult = dal.GetDetails(accountID); SaveDetails(dtResult, action); } } catch (Exception ex) { throw ex; } }