Ru.GameSchool.DataLayer.Repository.GameSchoolEntities.GetAllUserLevelProjects C# (CSharp) Méthode

GetAllUserLevelProjects() public méthode

public GetAllUserLevelProjects ( Nullable userInfoId ) : ObjectResult
userInfoId Nullable
Résultat ObjectResult
        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);
        }