Beispiel #1
0
        public ActionResult Index(int?page, string FName)
        {
            var x = new StaffBL();

            if (FName != null)
            {
                return(View(x.SearchByName(FName)));
            }
            else
            {
                return(View(x.GetAllStaff()));
            }
        }