Ejemplo n.º 1
0
        /// <summary>
        /// Gets the feedback models.
        /// </summary>
        /// <returns>The specific dictionary.</returns>
        public static Dictionary<Int64, string> GetFeedbackModels(IRoadsService client)
        {
            var feedbacksModels = client.GetFeedbackControlsList();

            var result = new Dictionary<long, string>();

            foreach (var model in feedbacksModels)
            {
                result.Add(model.FeedbackModelId, model.FeedBackModalName);
            }

            return result;
        }