Esempio n. 1
0
        public async Task <ActionResult <Supplier> > GetSupplier(int id)
        {
            var result = await _clkService.findSupplierByIdAsync(id);

            if (result != null)
            {
                return(Ok(result));
            }
            else
            {
                return(null);
            }
        }