public int Create(EntryCreate model) { return(entryService.Create(model)); }
public ActionResult <Entry> Create(Entry entry) { _entryService.Create(entry); return(CreatedAtAction("Get", new { id = entry.Id })); }