Esempio n. 1
0
        public HttpResponseMessage GetAllReceives()
        {
            var allReceives = receiveRepository.GetAllReceives();
            var formatter   = RequestFormat.JsonFormaterString();

            return(Request.CreateResponse(HttpStatusCode.OK, allReceives, formatter));
        }