Esempio n. 1
0
        public IHttpActionResult GetSuppliers()
        {
            var entities = _repository.GetSuppliers();

            return(Ok <IEnumerable <SupplierModel> >(ModelFactory.GetSuppliers(entities)));
        }