public GenericResult <IEnumerable <Compra> > List([FromBody] CompraFilter filter) { return(appService.List(filter)); }