public static externalDTO.Location MapFromInternal(internalDTO.Location location) { var res = location == null ? null : new externalDTO.Location() { Id = location.Id, Locations = location.Locations }; return(res); }
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); }
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); }