| | |
| | | using WIDESEA_Core.BaseRepository; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseRepository; |
| | | using WIDESEA_Core.BaseServices; |
| | | using WIDESEA_Core.Helper; |
| | | using WIDESEA_IBusinessesRepository; |
| | | using WIDESEA_IBusinessServices; |
| | | using WIDESEA_Model.Models; |
| | |
| | | { |
| | | _unitOfWorkManage = unitOfWorkManage; |
| | | } |
| | | |
| | | |
| | | public WebResponseContent QueryAreaInfo() |
| | | { |
| | | var data = BaseDal.QueryData(x => true); |
| | | var areaList = new List<object>(); |
| | | |
| | | foreach (var item in data) |
| | | { |
| | | areaList.Add(new { id = item.AreaID, name = item.AreaName }); |
| | | } |
| | | return WebResponseContent.Instance.OK(data: areaList); |
| | | |
| | | } |
| | | } |
| | | } |