public ActionResult Delete([Bind(Include = "Id,Name,Description,ImageId")] AMActivityType ActivityTObj)
        {
            int CurrentId = 0;

            Int32.TryParse(ActivityTObj.Id.ToString(), out CurrentId);
            if (CurrentId == 0)
            {
                return(View("Error"));
            }
            if (!DMLObj.ActivityTypeHasActivity(CurrentId) && DMLObj.DeleteActivityTypeById(CurrentId))
            {
                return(RedirectToAction("Index", "SysAdmin"));
            }
            return(View("Error"));
        }