public List <UserModel> viewDetails() { CCIRepository repository = CCIRepository.CreateRepository(); List <UserModel> list = new List <UserModel>(); list = repository.viewEmployeeDetails(); return(list); }