Beispiel #1
0
 /// <summary>
 /// Get a CreditCardViewModel view model
 /// </summary>
 /// <returns></returns>
 private CreditCardViewModel GetViewModel(CreditCard creditCard)
 {
     return(new CreditCardViewModel
     {
         CreditCard = creditCard,
         AvailableDays = _service.GetAvailableDays()
     });
 }