public static void InsertToTable(Medicine medicine)
        {
            var medicineToInsert = new MedicineEntity(medicine.Code.ToString(), medicine.Name)
            {
                Date        = medicine.Date.ToString("d"),
                DangersDesc = medicine.DangersDesc,
                UserDesc    = medicine.UserDesc,
                ImagePath   = medicine.ImagePath,
                Price       = medicine.Price
            };

            // Create the TableOperation object that inserts the customer entity.
            TableOperation insertOperation = TableOperation.Insert(medicineToInsert);

            // Execute the insert operation.
            _table.Execute(insertOperation);
        }
        public static void DeleteEntryFromTable()
        {
            // Create a retrieve operation that expects a customer entity.
            TableOperation retrieveOperation = TableOperation.Retrieve <MedicineEntity>("Omega3", "9721356");

            // Execute the operation.
            TableResult retrievedResult = _table.Execute(retrieveOperation);

            // Assign the result to a CustomerEntity.
            MedicineEntity deleteEntity = (MedicineEntity)retrievedResult.Result;

            // Create the Delete TableOperation.
            if (deleteEntity != null)
            {
                TableOperation deleteOperation = TableOperation.Delete(deleteEntity);
                // Execute the operation.
                _table.Execute(deleteOperation);
                Console.WriteLine("Entity deleted.");
            }
            else
            {
                Console.WriteLine("Could not retrieve the entity.");
            }
        }