public ObjectResult<LevelProject> GetAllUserLevelProjects(Nullable<int> userInfoId)
{
ObjectParameter userInfoIdParameter;
if (userInfoId.HasValue)
{
userInfoIdParameter = new ObjectParameter("userInfoId", userInfoId);
}
else
{
userInfoIdParameter = new ObjectParameter("userInfoId", typeof(int));
}
return base.ExecuteFunction<LevelProject>("GetAllUserLevelProjects", userInfoIdParameter);
}