public void OnGet(int contacttype) { ContactType = (ContactType)contacttype; ContactViewModel = new ContactViewModel { Subject = ContactType.GetDescription(), ContactType = ContactType, Message = string.Empty }; }