4.7 Model Validation
Great, we can now get some data and create some data. But what happens if the user doesn’t send enough information? Or even worse, incorrect information either by accident or maliciously? We have to do some validation. I will share with you three ways to handle this and end up teaching you about Action Filters.