public ActionResult DeleteAssignment(Assignment ass)
        {
            JobManager JM = new JobManager();

            if (ModelState.IsValid)
            {
                JM.DeleteAssignment(ass.JobId, ass.AssignmentId, ass.AssignmentType);
                return(null); //RedirectToAction("Welcome", "Home");
            }
            else
            {
                ModelState.AddModelError("", "The password provided is incorrect.");
            }

            return(View());
        }