I have a Asp.net application in Visual studios in my model I have this class
public class Goalkeeper
{
public static string Name { get; set; }
public static string Position { get; set; }
public static int Matches { get; set; }
public static int Cleansheets { get; set; }
}
Is there a way for me to set the values of these in the model so I can use thme in all my different views and controller actions so I dont have to set them like this for example (Goalkeeper.Matches = 234;) In every single action in my controller, because that seems very inefficient.