Start by cleaning the fish, remove the bones and skin. Then drain it. Then mix the egg, onion, dill weed, and breadcrumbs into the salmon. Mix well. Shape into patties. Place them in the air fryer. Set the temperature for 370 degrees F. For 5 minutes, then flip them and air fry for another 5 minutes. Plate, serve and enjoy!