public static List <Lane> GetLanes(this TSB value) { if (null == value) { return(new List <Lane>()); } return(Lane.GetTSBLanes(value)); }
public NDbResult <List <Lane> > GetTSBLanes([FromBody] TSB value) { NDbResult <List <Lane> > result; if (null == value) { result = new NDbResult <List <Lane> >(); result.ParameterIsNull(); } else { result = Lane.GetTSBLanes(value); } return(result); }