public IEnumerable <Employee> Get()
        {
            EmployeesData eData = new EmployeesData();

            return(eData.GetEmployees());
        }
コード例 #2
0
        public IActionResult GetEmployees()
        {
            var employees = EmployeesData.GetEmployees();

            return(Ok(employees));
        }