public async Task <JsonResult> History(Guid id)
        {
            var historyData = await _convenioAppService.GetAllHistory(id);

            return(Json(historyData));
        }
 public async Task <IList <ConvenioHistoryData> > History(Guid id)
 {
     return(await _convenioAppService.GetAllHistory(id));
 }