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))); }
public bool CreatePresentation(PresentationFundamentals fundamentals) { return(CreatePresentation(fundamentals.Name, fundamentals.OwnerName, fundamentals.Title)); }
public string StartPresentation(PresentationFundamentals fundamentals) { return(StartPresentation(fundamentals.Name, fundamentals.OwnerName)); }