public ActionResult <Title> Create(Title title) { _titleService.Create(title); return(CreatedAtRoute("GetTitle", new { id = title.Id.ToString() }, title)); }
public ActionResult <Title> Create(Title items) { _service.Create(items); return(CreatedAtRoute("GetTitle", new { id = items.Id.ToString() }, items)); }