Example #1
0
        public MedicineViewModel(Medicine medicine)
        {
            IBL bl = new BLImplement();

            this.Id                = medicine.Id;
            this.Name              = medicine.Name;
            this.GenericName       = medicine.GenericName;
            this.PortionProperties = medicine.PortionProperties;
            this.Producer          = medicine.Producer;
            this.Picture           = bl.getMedicinePicture(Id);
        }