I have a simple structure (struct
) which I want to place in my asp.net MVC
application.
public struct QuantityAndSize
{
public decimal quantity;
public string size;
}
A struct
is not really a model and it isn't a view or a controller either.
Maybe I shouldn't use structs in the first place, so where should I place it or should I avoid it.
EDIT
This question is not performance related. The main purpose of this question is to get the Structure of the project correct so that it will meet best practice