/// <summary>
        /// Converts this instance of <see cref="SendingApplicationDto"/> to an instance of <see cref="SendingApplication"/>.
        /// </summary>
        /// <param name="dto"><see cref="SendingApplicationDto"/> to convert.</param>
        public static SendingApplication ToEntity(this SendingApplicationDto dto)
        {
            if (dto == null)
            {
                return(null);
            }

            var entity = new SendingApplication();

            entity.SendingApplicationId   = dto.SendingApplicationId;
            entity.SendingApplicationName = dto.SendingApplicationName;
            entity.SendingApplicationIcon = dto.SendingApplicationIcon;

            dto.OnEntity(entity);

            return(entity);
        }