Beispiel #1
0
        public static internalDTO.Location MapFromDAL(externalDTO.Location location)
        {
            var res = location == null ? null : new internalDTO.Location()
            {
                Id        = location.Id,
                Locations = new internalDTO.MultiLangString(location.Locations)
            };

            return(res);
        }
Beispiel #2
0
        public static internalDTO.Location MapFromDAL(externalDTO.Location Location)
        {
            var res = Location == null ? null : new internalDTO.Location()
            {
                Id          = Location.Id,
                Name        = Location.Name,
                Description = Location.Description,
                AppUserId   = Location.AppUserId
            };

            return(res);
        }
Beispiel #3
0
        public static externalDTO.Location MapFromDAL(internalDTO.Location location)
        {
            var res = location == null ? null : new externalDTO.Location()
            {
                Id          = location.Id,
                Name        = location.Name,
                Description = location.Description,
                AppUserId   = location.AppUserId,
            };

            return(res);
        }