Hi All,
I am in the process of creating an Employee Training Records database using SQL and Visual Studio 2019.
So far so good, however at the moment I have one question which I hope you can me out with.
I have a Model, Controller and View for listing employees. There is an option to amend if the employee is current or not.
I would like to create a page which just lists current employees and another which just lists non current employees.
How do I achieve this? I know I can have a search/filter facility but I want to make this as easy as possible for end users.
Do I use a IF or WHERE statement? If so how and where would this be placed?
Many thanks in advance.
Mick