Example #1
0
        public ActionResult UpDateUser(string ID)
        {
            PLog.Info("BEGIN::Controller > Home, Method > UpDateUser(string ID)");
            UsersImple objUsersImple = new UsersImple();
            UsersModel objModel      = null;

            try
            {
                if (!string.IsNullOrEmpty(ID))
                {
                    objModel = objUsersImple.EditUser(Convert.ToInt32(ID));
                }
            }
            catch (Exception ex)
            {
                PLog.Error("Error::Controller > Home, Method > UpDateUser(string ID)", ex);
            }
            PLog.Info("END::Controller > Home, Method > UpDateUser(string ID)");
            return(View("UserCreation", objModel));
        }