Ejemplo n.º 1
0
        public static List <BusListModel> GetAllBusesBySearch(string condition, string type)
        {
            var result = BusRepository.GetAllBusesBySearch(condition, type);

            foreach (var item in result)
            {
                item.busEncrpId     = Encrypt.encryptMethod(item.bus_id.ToString());
                item.busEncrpNumber = Encrypt.encryptMethod(item.busEncrpNumber);
            }
            return(result);
        }