public List <object> GetAll()
 {
     return(new ConditionBLL().GetAllConditions().Select(instance => ConditionModel.GetConditionObject(instance)).ToList());
 }
        public object Get(ConditionIDModel conditionIDModel)
        {
            var condition = (Condition)HttpContext.Current.Items["condition"];

            return(ConditionModel.GetConditionObject(condition));
        }