You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

44 lines
1.1 KiB

using EasyBL.WebApi.Filters;
using EasyBL.WEBAPP.SYS;
using Entity.ShowEasyDtos;
using Entity.Sugar;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace WebApp.Controllers
{
public class CategoryController : ApiController
{
[HttpGet]
public HttpResponseMessage ExhibitionMain(string Lang)
{
return new CategoryService().GetExhibitionMainCategoryList(Lang);
}
[HttpGet]
public HttpResponseMessage ExhibitionSub(string Lang, string MainCategoryIDs)
{
return new CategoryService().GetExhibitionSubCategoryList(Lang, MainCategoryIDs);
}
[HttpGet]
public HttpResponseMessage ServiceMain(string Lang)
{
return new CategoryService().GetServiceMainCategoryList(Lang);
}
[HttpGet]
public HttpResponseMessage ServiceSub(string Lang, string MainCategoryIDs)
{
return new CategoryService().GetServiceSubCategoryList(Lang, MainCategoryIDs);
}
}
}