public static externalDTO.AdministrativeUnit MapFromBLL(internalDTO.AdministrativeUnit AdministrativeUnit) { var res = AdministrativeUnit == null ? null : new externalDTO.AdministrativeUnit { Id = AdministrativeUnit.Id, Name = AdministrativeUnit.Name, Description = AdministrativeUnit.Description, AppUserId = AdministrativeUnit.AppUserId, }; return(res); }
public static internalDTO.AdministrativeUnit MapFromBLL(externalDTO.AdministrativeUnit administrativeUnit) { var res = administrativeUnit == null ? null : new internalDTO.AdministrativeUnit() { Id = administrativeUnit.Id, Name = administrativeUnit.Name, Description = administrativeUnit.Description, AppUserId = administrativeUnit.AppUserId, }; return(res); }