Esempio n. 1
0
 public List <LanePayment> GetPaymentsByLane([FromBody] Search.Lanes.Payments.ByLane value)
 {
     if (null == value)
     {
         return(new List <LanePayment>());
     }
     return(LanePayment.Search(value.Lane));
 }
Esempio n. 2
0
        public NDbResult <List <LanePayment> > GetPaymentsByLane([FromBody] Search.Lanes.Payments.ByLane value)
        {
            NDbResult <List <LanePayment> > result;

            if (null == value)
            {
                result = new NDbResult <List <LanePayment> >();
                result.ParameterIsNull();
            }
            else
            {
                result = LanePayment.Search(value.Lane);
            }
            return(result);
        }