public Task <ICollection <GpsMeasurement> > GetGpsHistory([FromUri] IEnumerable <int> id, [FromUri] string from, [FromUri] string through)
        {
            var f = DateTimeMapper.ToDateTime(from);
            var t = DateTimeMapper.ToDateTime(through);

            if (f.HasValue && t.HasValue && f > t)
            {
                var message = "From need to be before through";
                throw new HttpResponseException(Request.CreateErrorResponse(HttpStatusCode.BadRequest, message));
            }


            return(TrboPortalHelper.GetGpsMeasurementsAsync(id, f, t));
        }
 public Task <ICollection <GpsMeasurement> > GetMostRecentGps([FromUri] IEnumerable <int> ids)
 {
     return(TrboPortalHelper.GetGpsMeasurementsAsync(ids, null, null));
 }