public IHttpActionResult GetTruckList( DateTime transportD, string depC, string searchtruckC, bool notdispatchgoStatus = false, bool notdispatchbackStatus = false, bool dispatchgoStatus = false, bool dispatchbackStatus = false, bool otherStatus = false ) { var truckList = _dispatchService.GetTruckList(transportD, depC, searchtruckC, notdispatchgoStatus, notdispatchbackStatus, dispatchgoStatus, dispatchbackStatus, otherStatus); return(Ok(truckList)); }