We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, thank you for the good library and good ideas from concepts!
What would be an elegant / good way to solve this problem. I could not find anything in the calculation.
[HttpPost] [ProducesResponseType(StatusCodes.Status201Created)] public async Task<ActionResult<InventoryInspectionDoneDTO>> Create([FromBody] InventoryInspectionDoneCreateDTO dto) { var resp = (await _inventoryInspectionsDoneService.CreateAsync(dto)).Map(x => _mapper.Map<InventoryInspectionDoneDTO>(x)); if (resp.IsSuccess) { return CreatedAtAction(nameof(GetById), new { id = resp.Value.Id }, resp.Value); } return this.ToActionResult(resp); }
One idea would be write a custom extension but maybe there is chance to include it in this library.
Thanks for any ideas!
The text was updated successfully, but these errors were encountered:
I think some of what is in this PR could be applied: #92.
Sorry, something went wrong.
We now have a Created result.
No branches or pull requests
Hello,
thank you for the good library and good ideas from concepts!
What would be an elegant / good way to solve this problem. I could not find anything in the calculation.
One idea would be write a custom extension but maybe there is chance to include it in this library.
Thanks for any ideas!
The text was updated successfully, but these errors were encountered: