Exemple #1
0
        public IActionResult CreatePresentation(PresentationFundamentals fundamentals)
        {
            if (data.CreatePresentation(fundamentals))
            {
                return(Ok());
            }

            return(BadRequest());
        }
        public IActionResult StartPresentation(PresentationFundamentals fundamentals)
        {
            string presentationId = presentations.StartPresentation(fundamentals);

            if (presentationId == "")
            {
                return(BadRequest());
            }

            return(Ok(Content(presentationId)));
        }
Exemple #3
0
 public bool CreatePresentation(PresentationFundamentals fundamentals)
 {
     return(CreatePresentation(fundamentals.Name, fundamentals.OwnerName, fundamentals.Title));
 }
 public string StartPresentation(PresentationFundamentals fundamentals)
 {
     return(StartPresentation(fundamentals.Name, fundamentals.OwnerName));
 }