public async Task <IActionResult> Put([FromBody] SecurityConfiguration model)
        {
            var result = await _securityService.SetGlobalAsync(model);

            return(result.AsActionResult());
        }
        public async Task <IActionResult> Put([FromRoute] string galleryName, [FromBody] SecurityConfiguration model)
        {
            var result = await _securityService.SetAsync(galleryName, model);

            return(result.AsActionResult());
        }