Ejemplo n.º 1
0
        public Respbase <List <ClassificationDto> > GetClassifications(GetClassifications req)
        {
            DaRenFacade facade = new DaRenFacade();
            var         result = facade.GetClassifications(req);

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