Пример #1
0
        public IActionResult Post([FromBody] ReminderModel model)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            notificationService.AddReminder(model);

            return(Ok());
        }