public async Task CreateConfigAsync(Guid groupId)
        {
            ConfigGroupDB config = new ConfigGroupDB();

            config.Fk_Group     = groupId;
            config.Fk_User      = new Guid(User.Claims.First(c => c.Type == "UserID").Value);
            config.CreationDate = DateTime.Now;


            await Database.ConfigsGroup.InsertOneAsync(config);
        }
        public async Task <IActionResult> UpdateConfigCharacter(ConfigGroupDB config)
        {
            await Database.ConfigsGroup.ReplaceOneAsync(o => o.Key == config.Key, config);

            return(Ok(config));
        }