public UserType Create(UserType toCreate) { try { rep.Create(toCreate); rep.Save(); return(toCreate); } catch (Exception) { return(null); } }