public void Delete(int id)
        {
            var ConditionOfItem = new ConditionOfItem {
                ConditionOfItemId = id
            };

            UnitOfWork.ConditionOfItemRepository.Delete(ConditionOfItem);
            UnitOfWork.Save();
        }
        public void Create(ConditionOfItemViewModel conditionOfItemViewModel)
        {
            var CondtionOfItem = new ConditionOfItem
            {
                ConditionOfItemName = conditionOfItemViewModel.ConditionOfItemName
            };

            UnitOfWork.ConditionOfItemRepository.Insert(CondtionOfItem);
            UnitOfWork.Save();
        }
        public void Update(ConditionOfItemViewModel conditionOfItemViewModel)
        {
            var ConditonOfItem = new ConditionOfItem
            {
                ConditionOfItemId   = conditionOfItemViewModel.ConditionOfItemId,
                ConditionOfItemName = conditionOfItemViewModel.ConditionOfItemName
            };

            UnitOfWork.ConditionOfItemRepository.Update(ConditonOfItem);
            UnitOfWork.Save();
        }