public ActionResult <PlannerModel> Post([FromBody] PlannerModel title) { _plannerService.Create(title); return(CreatedAtRoute("", new { id = title.Id.ToString() }, title)); }
public ActionResult <PlannerModel> Post([FromBody] PlannerModel title) { _plannerService.Create(title); return(CreatedAtRoute("", new { id = title.Id.ToString() }, title)); }