I've recently started learning asp.net programming and am now fiddling with my small "project"
In it i have 2 models for my database : 1) Film - which consists of name,id, category(type of category model), other random properties and a DATE
2) Category - which consists just of the name of the category and id.
I want to create a form where i type a start date and an end date and choose a category. After i submit this form i want my controller to return Data from database where the data falls into range (start date - end date) and category which were chosen.
So my question is do i need another model for "data range" and the form or can i just write a javascript function or something similar and it can return data directly to my view. I'm a little lost and i have no one to ask, so maybe someone can help me.
Thanks