예제 #1
0
        public HttpResponseMessage GetAll([ValidKey(ValidKeyAttribute.Entities.Usuario)] string samaccount)
        {
            var cargos = CargoServices.RecuperaTodos(samaccount);

            return(Request.CreateResponse(HttpStatusCode.OK, cargos));
        }
예제 #2
0
        public HttpResponseMessage GetAll()
        {
            var cargos = CargoServices.RecuperaTodos();

            return(Request.CreateResponse(HttpStatusCode.OK, cargos));
        }