public IActionResult AddorEditProductByAdmin([FromBody] Products_Types model)
        {
            IARresponse = Unauthorized();

            Products_Types product = new Products_Types();

            try
            {
                product.PID      = model.PID;
                product.pName    = model.pName;
                product.IsActive = 1;

                if (objadmindb.AddorEditProductByAdmin(product) == "")
                {
                    IARresponse = Ok(new { res = "Products Added / Updated Successfully" });
                }
                else
                {
                    IARresponse = BadRequest(new { res = "Products not Added / Updated... try again later!.." + objadmindb.AddorEditProductByAdmin(product) });
                }
            }
            catch (Exception ex)
            {
                IARresponse = BadRequest(new { res = ex.Message });
            }
            return(IARresponse);
        }