Ejemplo n.º 1
0
 public ActionResult Edit(string id)
 {
     try
     {
         var objectId    = ObjectId.Parse(id);
         var paymentType = repository.Get(objectId);
         return(View(paymentType));
     }
     catch
     {
         return(null);
     }
 }
Ejemplo n.º 2
0
 public PaymentType Get(int paymentTypeID)
 {
     return(_repository.Get(paymentTypeID));
 }