/// <summary>Regions.</summary> /// <param name="regionId"> Identifier for the region.</param> /// <param name="regionDescription">Information describing the region.</param> /// <returns>A Region.</returns> public static Region Region(int regionId, string regionDescription) { Region region = new Region(); region.Id = regionId; region.RegionDescription = regionDescription; return region; }
public static RegionDto ToRegionDto(Region model) { return new RegionDto { Id = model.Id, RegionDescription = model.RegionDescription, }; }