Beispiel #1
0
        private object CreateRequestParameter()
        {
            var historyDto = new HistoryCoordinatesDto
            {
                UserName  = int.Parse(_commandArguments[0]),
                StartDate = DateTimeConverter.Convert(_commandArguments[1]),
                EndDate   = DateTimeConverter.Convert(_commandArguments[2])
            };

            _token = AuthClient.GetTokenFromCache(historyDto.UserName);

            return(historyDto);
        }