public HttpResponseMessage GetDilyCarLogListByDate(int UserId, string Type, DateTime FromDate, DateTime ToDate)
        {
            try

            {
                using (CarSystemEntities db = new CarSystemEntities())
                {
                    var returnData = db.prGetDailyCarLogDateRange(UserId, 0, FromDate, ToDate, Type).ToList();
                    return(Request.CreateResponse(HttpStatusCode.OK, returnData));
                }
            }
            catch (Exception ex)
            {
                return(Request.CreateResponse(HttpStatusCode.BadRequest, "System has failed to show bus log list. Please contact with admin."));
            }
        }