public bool UnmarkToDo([FromBody] ChangeToDoState s) { bool isMarked = _manager.UnmarkToDo(s.id); return(isMarked); }
public bool MarkToDo([FromBody] ChangeToDoState m) { bool isMarked = _manager.MarkToDo(m.id); return(isMarked); }