Exemplo n.º 1
0
        /// <summary>
        /// Get fields for default user directory
        /// </summary>
        /// <param name="userId">current logged user Id</param>
        /// <returns></returns>

        public IEnumerable <Field> GetAvailableFields(Guid userId)
        {
            var defaultDirectoryId = SpaceRepository
                                     .GetDefaultSpaceDirectory(userId)
                                     .FieldId;

            return(GetAvailableFields(userId, defaultDirectoryId));
        }