Esempio n. 1
0
        public ActionResult <IEnumerable <SupplierReadDto> > GetAllSupplier()
        {
            var suppliers = _repository.GetAllSuppliers();

            return(Ok(_mapper.Map <IEnumerable <SupplierReadDto> >(suppliers)));
        }