Exemple #1
0
        // GET: IP
        public ActionResult Home(string Name, string Gst)
        {
            try
            {
                if (!string.IsNullOrEmpty(Name) || !string.IsNullOrEmpty(Gst))
                {
                    ViewBag.list = MVCHelper.GetAllUsers(Name, Gst);
                }
                else
                {
                    ViewBag.list = MVCHelper.GetAllUsers();
                }


            }
            catch (Exception ex)
            {

            }


            return View();
        }