コード例 #1
0
        public IActionResult CreateStatus(Guid employeeId)
        {
            var result = _statusService.CreateInitialStatus(employeeId);

            if (result.Count > 0)
            {
                return(Ok(ApiResponse <string>(message: string.Join(";", result), codes: ApiResponseCodes.ERROR)));
            }
            return(Ok());
        }