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.
|
|
using EasyBL.WebApi.Filters; using EasyBL.WebApi.Message; using EasyBL.WEBAPP.SYS; using Entity.ShowEasyDtos; using Entity.Sugar; 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 ExhibitionController : ApiController {
[HttpGet] public HttpResponseMessage Statuses(string Lang) { return new ExhibitionService().GetStatusList(Lang); }
[HttpGet] public HttpResponseMessage Exhibitions(string Lang, string Region, string Country, string City) {
return new ExhibitionService().GetExhibitionList(Lang, Region, Country, City); }
[HttpGet] public HttpResponseMessage Exhibition(string Lang, string ExhibitionID) {
return new ExhibitionService().GetOneExhibition(Lang, ExhibitionID);
}
[HttpGet] public HttpResponseMessage Info(string Lang, string ExhibitionID, string Year) {
return new ExhibInfoService().GetOneExhibInfo(Lang, ExhibitionID, Year); }
[HttpGet] public HttpResponseMessage Statistics(string Lang, string ExhibitionID) {
return new ExhibStatService().GetExhibStatisticsList(Lang, ExhibitionID); }
[HttpGet] public HttpResponseMessage Media(string Lang, string ExhibitionID, string Type) {
return new ExhibMediaService().GetMediaList(Lang, ExhibitionID, Type); }
[HttpGet] public HttpResponseMessage Files(string ExhibitionID) {
return new ExhibMediaService().GetMediaFileList(ExhibitionID); }
} }
|