Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task <ActionResult <StockAdjustment> > GetStkAdjId(int id) { var result = await _clkService.findStockAdjustmentByIdAsync(id); if (result != null) { //Docs says that Ok(...) will AUTO TRANSFER result into JSON Type return(Ok(result)); } else { //this help to return a NOTfOUND result, u can customerize the string. return(NotFound("Suppliers not found")); } }