public async Task <ActionResult> Get() { var response = await _supplierManager.GetListAsync(); if (response == null || !response.Any()) { return(NotFound()); } else { return(Ok(response)); } }
public async Task <ActionResult> Get() { var response = await _supplierManager.GetListAsync(); if (response == null || !response.Any()) { return(NotFound()); } else { return(Ok(response)); } }