Пример #1
0
        public Respbase <List <DaRenEduDto> > GetDaRenEdus(Reqbase req)
        {
            DaRenFacade facade = new DaRenFacade();
            var         result = facade.GetDaRenEdus(req);

            if (result != null)
            {
                return(new Respbase <List <DaRenEduDto> > {
                    Result = 1, Message = "成功", Data = result
                });
            }
            return(new Respbase <List <DaRenEduDto> > {
                Result = facade.PromptInfo.Result, Message = facade.PromptInfo.Message
            });
        }