예제 #1
0
        public ActionResult ShowStaff()
        {
            var    staff = _repository.SearchStaff(string.Empty);
            var    ex1   = _repository.TotalStaff();
            var    ex2   = _repository.AsynTotalStaffAsync();
            var    ex3   = new SqlExecutingNoQuery().InsertDepartmentAsync(_db);
            var    ex4   = new SqlSingleRow().StaffAsync(_db);
            string strID = "1";
            var    ex5   = new SqlParameters().SearchDepartment(_db, strID);
            var    ex6   = new SqlExecutingNoQuery().StoreProcAsync(_db);

            return(View(staff));
        }