Exemple #1
0
        public int checkTannersStaging()
        {
            int tannersrecords = 0;
            var tanersLogic    = new TannersStagingManager();
            List <PatientTannersStaging> list = new List <PatientTannersStaging>();

            list = tanersLogic.getTannersStaging(Convert.ToInt32(Session["PatientPK"]));
            foreach (var items in list)
            {
                tannersrecords = tannersrecords + 1;
            }
            return(tannersrecords);
        }
Exemple #2
0
        public ArrayList LoadTannersStaging()
        {
            ArrayList rows                    = new ArrayList();
            var       tanersLogic             = new TannersStagingManager();
            List <PatientTannersStaging> list = new List <PatientTannersStaging>();

            list = tanersLogic.getTannersStaging(Convert.ToInt32(Session["PatientPK"]));
            foreach (var items in list)
            {
                string[] i = new string[5] {
                    items.Id.ToString(), Convert.ToDateTime(items.TannersStagingDate).ToString("dd-MMM-yyyy"), LookupLogic.GetLookupNameById(items.BreastsGenitalsId).ToString(), LookupLogic.GetLookupNameById(items.PubicHairId).ToString(), "<button type='button' class='btnDelete btn btn-danger fa fa-minus-circle btn-fill' > Remove</button>"
                };
                rows.Add(i);
            }
            return(rows);
        }