public IActionResult Post([FromBody] ReminderModel model) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } notificationService.AddReminder(model); return(Ok()); }
public IActionResult Post([FromBody] ReminderModel model) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } notificationService.AddReminder(model); return(Ok()); }