Пример #1
0
        public async Task <IEnumerable <Profile> > GetProfileList()
        {
            try
            {
                var all = await prodDal.All();

                return(all);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Пример #2
0
        public async Task <IEnumerable <Profile> > GetAll()
        {
            var all = await prodDal.All();

            return(all);
        }