public void ReturnCar(string id)
        {
            int  idConverted;
            bool success = int.TryParse(id, out idConverted);

            if (success == false)
            {
                throw new WebFaultException <string>("Please input a number instead ", HttpStatusCode.BadRequest);
            }

            try
            {
                dataBaseRepository.ReturnCarById(idConverted);
            }
            catch (Exception ex)
            {
                SaveException.Log("webErrors.txt", ex);
                throw new WebFaultException <string>("Sorry something went wrong when trying to return at booking position " + id, HttpStatusCode.InternalServerError);
            }
        }
 public void ReturnCar(int id)
 {
     dataBaseRepository.ReturnCarById(id);
 }