Exemple #1
0
 public LanePayment Create([FromBody] LanePaymentCreate value)
 {
     if (null == value)
     {
         return(null);
     }
     return(LanePayment.Create(value.Lane, value.User,
                               value.Payment, value.Date, value.Amount));
 }
        public NDbResult <LanePayment> Create([FromBody] LanePaymentCreate value)
        {
            NDbResult <LanePayment> result;

            if (null == value)
            {
                result = new NDbResult <LanePayment>();
                result.ParameterIsNull();
            }
            else
            {
                result = LanePayment.Create(value.Lane, value.User,
                                            value.Payment, value.Date, value.Amount);
            }
            return(result);
        }