public async Task <IActionResult> DeleteIpAllow([FromBody] Req <AdminIdDto> request)
        {
            var b = await _adminSecurityApplication.DeleteIpAllow(request);

            if (b == false)
            {
                return(Error(request.Message));
            }
            await IpAddressHelper.InitIpWhite(_adminSecurityApplication);

            return(Success());
        }
        public async Task <IActionResult> EditIpAllow([FromBody] Req <IpAddressEditDto> request)
        {
            bool b;

            if (request.Data.Id > 0)
            {
                b = await _adminSecurityApplication.EditIpAllow(request);
            }
            else
            {
                b = await _adminSecurityApplication.AddIpAllow(request);
            }
            if (b == false)
            {
                return(Error(request.Message));
            }
            await IpAddressHelper.InitIpWhite(_adminSecurityApplication);

            return(Success());
        }