Пример #1
0
        public IActionResult GetById([FromRoute] int id)
        {
            var result = _employee.Get(id);

            return(Ok(result));
        }
Пример #2
0
        public IActionResult Get([FromRoute] int id)
        {
            var res = employee.Get(id);

            return(Ok(res));
        }
Пример #3
0
 public IActionResult Get()
 {
     return(Ok(_employeeOperations.Get()));
 }