public async Task <ActionResult> GetByFilterAsync(string filter) { try { var products = await _productQueries.GetByFilterAsync(filter); return(Ok(products)); } catch { return(NotFound()); } }
public async Task <ActionResult> GetByFilterAsync(string filter) { try { var products = await _productQueries.GetByFilterAsync(filter); return(Ok(products)); } catch { return(NotFound()); } }