public List <DateTime?> GetListDates(int Year, int Month) { var contexto = new ATLANEntities(); try { return(contexto.usp_ST_SYSFLEX_GET_RENEW_DATES(Year, Month).ToList()); } catch (Exception) { throw; } finally { contexto.Dispose(); } }