// Post: /UserManagement/Delete/5
        public ActionResult Delete(int?id)
        {
            try
            {
                _res = _rep.Delete(id);
            }
            catch (SqlException ex)
            {
                _res.ActionMessage  = ATLTravelPortal.Repository.SqlErrorHandle.Message(ex);
                _res.ErrNumber      = ex.Number;
                _res.ResponseStatus = true;
            }
            catch (Exception)
            {
                _res.ActionMessage  = Resources.SQLErrorMessage.Error;
                _res.ErrNumber      = 2000;
                _res.ResponseStatus = true;
            }

            Session["ActionResponse"] = _res;
            return(RedirectToAction("Index"));
        }