I am still learning so I don't even know if I am explaining this correctly.
Method
public static bool eventSave()
This method can take around 50 parameters. Listing them all in there sounds like a really ineffective way to do things so I am guessing you can do this an easier way.
This method is just doing a SQL UPDATE to save the event information. I already have an eventRead which pulls all the data and uses a model that has all 50 parameters already defined.
public class eventRead
{
public int event_id { get; set; }
//etc.
}
Now I would love to just be able to throw that class in the parameters and it knows that it can accept any or all of those 50 parameters, but apparently you can't.
My question is what is the easiest way to pass in 50 or so parameters without putting them all between the ()?