public IActionResult GetPinnedNote() { IEnumerable <Note> note = _notesBL.GetPinnedNote(Convert.ToInt64(GetTokenType())); return(Ok(note)); }