public GetInfoDicsResponse Any(GetAllInfoDics request) { var infoDics = acDomain.NodeHost.InfoDics; var infoDicsData = new GetInfoDicsResponse() { Status = (int)Status.Ok, ReasonPhrase = Status.Ok.ToName() }; foreach (var infoDic in infoDics.OrderBy(a => a.SortCode)) { infoDicsData.InfoDics.Add(infoDic.ToInfoDicData()); } return(infoDicsData); }
public GetInfoDicsResponse Any(GetAllInfoDics request) { var infoDics = acDomain.NodeHost.InfoDics; var infoDicsData = new GetInfoDicsResponse() { Status = (int)Status.Ok, ReasonPhrase = Status.Ok.ToName() }; foreach (var infoDic in infoDics.OrderBy(a => a.SortCode)) { infoDicsData.InfoDics.Add(infoDic.ToInfoDicData()); } return infoDicsData; }