Example #1
0
        public List <Personal_ListarCumpleanhosResult> Personal_ListarCumpleanhos(DateTime fecha)
        {
            //dmIntranetDataContext dci = new dmIntranetDataContext(ConfigurationManager.ConnectionStrings["genesys"].ConnectionString);
            dmIntranetDataContext dci = new dmIntranetDataContext(GS.configuration.Init.GetValue(Constant.sistema, Constant.key, "genesys"));

            try
            {
                return
                    (dci.Personal_ListarCumpleanhos(fecha).ToList());
            }
            catch (Exception ex)
            {
                throw ex;
            };
        }