public string CreateNewMessageToken(string userId)
        {
            EDISAngular.Infrastructure.DbFirst.ResourcesReference resource = new EDISAngular.Infrastructure.DbFirst.ResourcesReference()
            {
                Id            = Guid.NewGuid().ToString(),
                FileExtension = "mp3",


                ResourceUrl = "",
                TokenValue  = Guid.NewGuid().ToString(),
                UserId      = userId
            };
            db.ResourcesReferences.Add(resource);
            db.SaveChanges();

            return(resource.TokenValue);
        }
        public string CreateNewMessageToken(string userId)
        {
            EDISAngular.Infrastructure.DbFirst.ResourcesReference resource = new EDISAngular.Infrastructure.DbFirst.ResourcesReference()
            {
                Id = Guid.NewGuid().ToString(),
                FileExtension = "mp3",


                ResourceUrl = "",
                TokenValue = Guid.NewGuid().ToString(),
                UserId = userId
            };
            db.ResourcesReferences.Add(resource);
            db.SaveChanges();

            return resource.TokenValue;
        }