Ejemplo n.º 1
0
        /// <summary>
        /// Get Charter Information
        /// </summary>
        /// <param name="charteringUniqueId">Chartering UniqueId</param>
        /// <returns>Charter Information</returns>
        private async Task <YachtCharteringViewModel> GetCharterInformation(string charteringUniqueId)
        {
            var response = await _yachtCharteringService.GetCharterInformation <YachtCharteringViewModel>(charteringUniqueId);

            var isSuccess = response.IsValidResponse();

            return(isSuccess ? response.ResponseData : null);
        }