public ActionResult DeleteConfirmed(string id)
        {
            var action = new CheckController().CheckStatus("Products");

            if (action != null)
            {
                return(action);
            }
            try
            {
                db.Delete(id);
                return(RedirectToAction("Index"));
            }
            catch (Exception ex)
            {
                return(RedirectToRoute(new { controller = "Products", action = "Index", Error = ex.Message }));
            }
        }