take information from view an sent her for server after
get dep and arr from view