コード例 #1
0
        public ActionResult Details(Int32 EmployeeId)
        {
            UserModel     _usermodel  = new UserModel();
            CCIRepository _repository = CCIRepository.CreateRepository();

            _usermodel = _repository.getSingleEmployeeDetail(EmployeeId);
            return(View(_usermodel));
        }
コード例 #2
0
        public ActionResult Delete(Int32 EmployeeId)
        {
            UserModel _usermodel = new UserModel();

            try
            {
                CCIRepository repository = CCIRepository.CreateRepository();
                _usermodel = repository.getSingleEmployeeDetail(EmployeeId);
            }
            catch (Exception ex)
            {
            }
            return(View(_usermodel));
        }