public string Calculate(DateTime entryDate, DateTime exitDate)
        {
            var input = new List <string>()
            {
                entryDate.ToString("dd/MM/yyyy hh:mm"), exitDate.ToString("dd/MM/yyyy hh:mm")
            };
            var timer = new TimerDto();

            var valid = _parkingService.ValidateInput(input, out timer);

            if (!valid.IsValid)
            {
                throw new Exception(valid.ErrorMessage);
            }

            try
            {
                var response = _parkingService.CalculateAsync(timer).Result;

                return(response);
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
            }
        }