コード例 #1
0
        public ActionResult <Agenda> CreateAgenda([FromBody] Agenda_Create create)
        {
            Agenda agenda = new Agenda();

            agenda = _AgendaService.CreateAgenda(create);
            if (agenda == null)
            {
                return(BadRequest());
            }
            return(Ok(agenda));
        }