コード例 #1
0
        public IActionResult GetNumber()
        {
            var data = _employeeBL.EmployeeNumbers();

            switch (data.MisaCode)
            {
            case Misa.CukCuk.Common.Enum.Enumarations.MisaCode.Success:
                return(Ok(data));

            case Misa.CukCuk.Common.Enum.Enumarations.MisaCode.Validate:
                return(Ok(data));

            case Misa.CukCuk.Common.Enum.Enumarations.MisaCode.Error:
                return(Ok(data));

            case Misa.CukCuk.Common.Enum.Enumarations.MisaCode.Exception:
                return(Ok(data));

            default:
                return(NoContent());
            }
        }