示例#1
0
        public JsonResult GetEventTypeCategoriesJson(string q, int page, int page_limit)
        {
            dbOperation = new DbEventTypes();
            var data = ((DbEventTypes)dbOperation).getEventTypeCategories(q, page, page_limit);

            return(Json(data, JsonRequestBehavior.AllowGet));
        }
示例#2
0
        public JsonResult GetEventTypeBySubType(int?subType)
        {
            dbOperation = new DbEventTypes();
            var data = ((DbEventTypes)dbOperation).GetEventTypeBySubType(subType);

            return(Json(data, JsonRequestBehavior.AllowGet));
        }
示例#3
0
        public JsonResult EventTypeCategoriesInitJson(int?value)
        {
            dbOperation = new DbEventTypes();

            var data = ((DbEventTypes)dbOperation).EventTypeCategoriesInit(value);

            return(Json(data, JsonRequestBehavior.AllowGet));
        }
 public EventTypesController()
 {
     dbOperation         = new DbEventTypes();
     EventTypeOperations = (DbEventTypes)dbOperation;
 }