示例#1
0
        public static List <PointDTO> GetAll()
        {
            List <Point> point = Database.Points.GetAll().ToList();

            return(MapperTransform <Point, PointDTO> .ToModelCollection(point));
        }
示例#2
0
        public static List <ReviewDTO> GetAll()
        {
            List <Review> review = Database.Reviews.GetAll().ToList();

            return(MapperTransform <Review, ReviewDTO> .ToModelCollection(review));
        }
示例#3
0
        public static List <PlaceDTO> GetAll()
        {
            List <Place> place = Database.Places.GetAll().ToList();

            return(MapperTransform <Place, PlaceDTO> .ToModelCollection(place));
        }
        public static List <UserInQuestDTO> GetAll()
        {
            List <UserInQuest> userInQuest = Database.UserInQuests.GetAll().ToList();

            return(MapperTransform <UserInQuest, UserInQuestDTO> .ToModelCollection(userInQuest));
        }
示例#5
0
        public static List <UserPhotoDTO> GetAll()
        {
            List <UserPhoto> userPhoto = Database.UserPhotos.GetAll().ToList();

            return(MapperTransform <UserPhoto, UserPhotoDTO> .ToModelCollection(userPhoto));
        }
示例#6
0
        public static List <PlacePhotoDTO> GetAll()
        {
            List <PlacePhoto> placePhoto = Database.PlacePhotos.GetAll().ToList();

            return(MapperTransform <PlacePhoto, PlacePhotoDTO> .ToModelCollection(placePhoto));
        }
示例#7
0
        public static List <StatusDTO> GetAll()
        {
            List <Status> status = Database.Statuses.GetAll().ToList();

            return(MapperTransform <Status, StatusDTO> .ToModelCollection(status));
        }
        public static List <UserVerificationDTO> GetAll()
        {
            List <UserVerification> userVerification = Database.UserVerifications.GetAll().ToList();

            return(MapperTransform <UserVerification, UserVerificationDTO> .ToModelCollection(userVerification));
        }
示例#9
0
        public static List <QuestDTO> GetAll()
        {
            List <Quest> quest = Database.Quests.GetAll().ToList();

            return(MapperTransform <Quest, QuestDTO> .ToModelCollection(quest));
        }
示例#10
0
        public static List <PrizeDTO> GetAll()
        {
            List <Prize> prize = Database.Prizes.GetAll().ToList();

            return(MapperTransform <Prize, PrizeDTO> .ToModelCollection(prize));
        }
示例#11
0
        public static List <UserDTO> GetAll()
        {
            List <User> user = Database.Users.GetAll().ToList();

            return(MapperTransform <User, UserDTO> .ToModelCollection(user));
        }
示例#12
0
        public static List <AnswerDTO> GetAll()
        {
            List <Answer> answer = Database.Answers.GetAll().ToList();

            return(MapperTransform <Answer, AnswerDTO> .ToModelCollection(answer));
        }