public HttpResponseMessage GetAll([ValidKey(ValidKeyAttribute.Entities.Usuario)] string samaccount) { var cargos = CargoServices.RecuperaTodos(samaccount); return(Request.CreateResponse(HttpStatusCode.OK, cargos)); }
public HttpResponseMessage GetAll() { var cargos = CargoServices.RecuperaTodos(); return(Request.CreateResponse(HttpStatusCode.OK, cargos)); }