コード例 #1
0
 // returns the total stay cost if the stay is > 7 days it will subtract 10%
 public static decimal CalculatePriceWithTenPercentageDiscount(int roomNumber, DateTime checkInDate, DateTime checkOutDate)
 {
     return(ServerManager.CalculatePriceWithTenPercentageDiscount(roomNumber, checkInDate, checkOutDate));
 }