/** * Creates a note and stores it in the database * * This method uses the note repository to create a new note to the * database with user, project, content and deadline. * * @since 1.0.0 * * @param Request $request The HTTP request with the data of the note * @return int The HTTP status code */ public function store(Request $request) { return $this->notes->createNote($request); }