Ejemplo n.º 1
0
        public static externalDTO.Location MapFromInternal(internalDTO.Location location)
        {
            var res = location == null ? null : new externalDTO.Location()
            {
                Id        = location.Id,
                Locations = location.Locations
            };

            return(res);
        }
Ejemplo n.º 2
0
        public static internalDTO.Location MapFromBLL(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);
        }
Ejemplo n.º 3
0
        public static externalDTO.Location MapFromBLL(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);
        }