public ActionResult Delete(DeleteRelationViewModel relationToDelete)
        {
            if (ModelState.IsValid)
            {
                try
                {
                    ResolveQuery resolveQuery = new ResolveQuery();

                    RelationObject isAnExpression = resolveQuery.Load("DELETE " + relationToDelete.name + ";");

                    if (isAnExpression == null)
                    {
                        return RedirectToAction("Index", "Landing");
                    }
                    else
                    {
                        InternalDatabase.TempRelatinos = isAnExpression;

                        return RedirectToAction("DetailsForTempRelation", "Relation", isAnExpression.NameOfRelation);
                    }
                }
                catch (Exception e)
                {
                    InternalDatabase.RevertDatabaseToBackup();

                    string[] errorSplitByPipe = e.Message.Split('|');

                    foreach (string errorMessage in errorSplitByPipe)
                    {
                        ModelState.AddModelError(string.Empty, errorMessage);
                    }
                }

            }

            return View(relationToDelete);
        }
 // GET: Relation/Delete/5
 public ActionResult Delete(string name)
 {
     DeleteRelationViewModel relationNameToDelete = new DeleteRelationViewModel();
     relationNameToDelete.name = name;
     return View(relationNameToDelete);
 }