Ejemplo n.º 1
0
        public static string[] SuggestTraining(string prefixText, int count)
        {
            if (!HttpContext.Current.User.Identity.IsAuthenticated || String.IsNullOrEmpty(HttpContext.Current.User.Identity.Name))
            {
                throw new MyFlightbookException("Unauthenticated call to SuggestTraining");
            }

            return(LogbookEntryDisplay.SuggestTraining(prefixText, count));
        }