常用方法
常用方法
常用方法
常用方法
public async Task <IActionResult> AddWorkOrderNote(WorkOrderNote workOrderNote) { var result = await _workOrderRepository.AddWorkOrderNote(workOrderNote); if (result == HttpStatusCode.Created) { return(StatusCode(201)); } return(StatusCode(StatusCodes.Status500InternalServerError)); }