public IHttpActionResult Delete([FromBody] ContentDto item) { _todoService.Delete(item.Value); return(Ok()); }
public IHttpActionResult Post([FromBody] ContentDto item) { _todoService.CreateTodo(item.Value); return(Ok()); }
public IHttpActionResult Delete([FromBody] ContentDto item) { _todoService.Delete(item.Value); return(Ok()); }
public IHttpActionResult Post([FromBody] ContentDto item) { _todoService.CreateTodo(item.Value); return(Ok()); }