Пример #1
0
        public IEnumerable <AdvertModel> GetAdvertsByUserId(int id)
        {
            var adList = _repo.GetCurrentUserAdverts(id);

            return(adList.Select(u => Map(u)));
        }