Exemplo n.º 1
0
        public async Task <IActionResult> CreateWorkOrder(WorkOrderForCreateDto workOrderForCreate)
        {
            var result = await _workOrderRepository.CreateWorkOrder(workOrderForCreate);

            return(CreatedAtRoute("GetById", new { id = result.Id }, result));
        }