Exemplo n.º 1
0
        public List <MedicineModel> GetProducts(Guid profileId)
        {
            List <MedicineModel> result = new List <MedicineModel>();

            PractitionerData dataLayer = new PractitionerData();

            //MedicineModel row = new MedicineModel();
            //row.ProductCode = "ABC";
            //row.ProductName = "Testing";
            //row.ExpiryDate = DateTime.Now;
            //row.ExpiryDateString = row.ExpiryDate.ToString("dd/MM/yyyy");
            //row.TotalAmount = 15;
            //row.Threshold = 3;
            //result.Add(row);
            result = dataLayer.GetProducts(profileId);

            return(result);
        }