Example #1
0
        public ActionResult <IEnumerable <string> > GetLoggedInOrganizer(LoginPost loginPost)
        {
            var result = auth.GetLoggedInOrganizerData(loginPost);

            if (result == null)
            {
                return(Unauthorized());
            }
            else
            {
                return(Content(result, "application/json"));
            }
        }