Beispiel #1
0
        public static List <BusListModel> GetAllDetails()
        {
            var result = BusRepository.GetAllBuses();

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