public async Task <ActionResult> GetSingleSize(int id) { var result = await _sizeService.GetSingleSizeByIdAsync(id); if (result == null) { return(NotFound("The size record couldn't be found.")); } return(Ok(result)); }
public async Task <ActionResult> GetSingleSize(int id) { var result = await _sizeService.GetSingleSizeByIdAsync(id); if (result == null) { return(NotFound("The size record couldn't be found.")); } return(Ok(result)); }