public async Task <IActionResult> GetReplacementPartPriceByPartNo() { string partNo = HttpContext.Request.Query["partNo"].ToString(); GetReplacementPartPriceByPartNoResponse response = _iReplacementPartService.GetReplacementPartPriceByPartNo(partNo); return(Ok(response)); }
public IActionResult GetReplacementPartPriceByPartNo(string partNo) { var response = _replacementPart.GetReplacementPartPriceByPartNo(partNo); return(Ok(response)); }