Esempio n. 1
0
        public async Task <ActionResult> Get()
        {
            var response = await _supplierManager.GetListAsync();

            if (response == null || !response.Any())
            {
                return(NotFound());
            }
            else
            {
                return(Ok(response));
            }
        }