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

            return(ConditionModel.GetConditionObject(condition));
        }