public BusinessObjects.Models.Branch selectBranchById(int branchId, int bankId) { try { DataAccessLayer.DALBranches.DALBranches dALBranches = new DataAccessLayer.DALBranches.DALBranches(); return(dALBranches.selectBranchById(branchId, bankId)); } catch (Exception ex) { ExceptionsWriter.saveEventsAndExceptions(ex, "Exceptions not handled", EventLogEntryType.Error); return(null); } }
public BusinessObjects.Models.Branch selectBranchById(int branchId, int bankId) { try { DataAccessLayer.DALBranches.DALBranches dALBranches = new DataAccessLayer.DALBranches.DALBranches(); return(dALBranches.selectBranchById(branchId, bankId)); } catch (Exception ex) { ExceptionsWriter.saveExceptionToLogFile(ex); return(null); } }