public Content AddContent(long subDirectoryId, ContentTypeMap type)
        {
            var resolvedType = _contentTypeService.GetContentTypeFromEnum(type);

            if (resolvedType != null)
            {
                var content = new Content()
                {
                    ContentTypeId      = resolvedType.Id,
                    SubDirectoryId     = subDirectoryId,
                    Timestamp          = DateTime.Now,
                    ExistsOnBlockChain = false
                };
                _contentRepository.Add(content);
                return(content);
            }
            return(null);
        }