/// <summary> /// This method handles edit view for notes /// </summary> /// <param name="id"></param> /// <returns></returns> public async Task <IActionResult> Edit(int id) { var note = await _context.FindNote(id); return(View(note)); }