Пример #1
0
        public bool Delete(int index)
        {
            var celebsRepository = new CelebsRepository();
            var result           = celebsRepository.Delete(index);

            return(result);
        }
Пример #2
0
        public IEnumerable <Celeb> GetAll()
        {
            var celebsRepository = new CelebsRepository();
            var result           = celebsRepository.GetAll();

            return(result);
        }
Пример #3
0
 public static void ResetData()
 {
     CelebsRepository.ResetData();
 }