public static externalDTO.Breed MapFromInternal(internalDTO.Breed breed) { var res = breed == null ? null : new externalDTO.Breed { Id = breed.Id, BreedName = breed.BreedName }; return(res); }
public static internalDTO.Breed MapFromDAL(externalDTO.Breed breed) { var res = breed == null ? null : new internalDTO.Breed { Id = breed.Id, BreedName = new internalDTO.MultiLangString(breed.BreedName) }; return(res); }