public static List <SERVICE_BANK_DTO> LayDanhSachServiceBank(int trangthai) { try { return(ServiceBankDAO.LayDanhSachServiceBankTheoTrangThai(trangthai)); } catch (Exception ex) { throw ex; } }
public static List <SERVICE_BANK_DTO> LayDanhSachServiceBankAndEdit(int trangthai) { try { List <SERVICE_BANK_DTO> banks = ServiceBankDAO.LayDanhSachServiceBankTheoTrangThai(trangthai); foreach (SERVICE_BANK_DTO bank in banks) { bank.MaBank += "+" + bank.Stk; } return(banks); } catch (Exception ex) { throw ex; } }