public async Task <IActionResult> AllowService(Authorize[] auth)
        {
            AllowServiceBLL authbll = new AllowServiceBLL();

            foreach (var item in auth)
            {
                authbll.Authorize(item);
            }

            return(Ok(new { message = "save" }));
        }
        public IActionResult removeAuthorize(int ID = 0)
        {
            AllowServiceBLL serbll = new AllowServiceBLL();
            var             data   = serbll.removeAuth(ID);

            if (data != null)
            {
                return(Ok(data));
            }
            else
            {
                return(BadRequest(""));
            }
        }