You are developing an ASP.NET Core MVC web application.
The application includes a C# type named InsuranceID that represents an insurance policy identifier for a customer. Each instance of InsuranceID is five alphanumeric characters followed by a dash and then four numbers (for example, ab12x-2323).
You need to ensure that Controller actions can accept values of type InsuranceID.
What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Navdeep
Highly Voted 5 years, 8 months agoAghie
Highly Voted 5 years, 10 months agoGods_Kenny
Most Recent 5 years, 4 months agoDhaval
5 years, 5 months agoNunu95
5 years, 5 months agoRadek
6 years ago