コード例 #1
0
 public Rental(PostRental postRental)
 {
     Description   = postRental.Description;
     NumberOfRooms = postRental.NumberOfRooms;
     Price         = postRental.Price;
     Address       = (postRental.Address ?? string.Empty).Split('\n').ToList();
 }
コード例 #2
0
ファイル: Rental.cs プロジェクト: nrock/MongoCms
 public Rental(PostRental postRental)
 {
     Description = postRental.Description;
     NumberOfRooms = postRental.NumberOfRooms;
     Price = postRental.Price;
     Address = (postRental.Address ?? string.Empty).Split('\n').ToList();
 }