Example #1
0
 public ResponseMessageWrap<ServiceConfigResponse> GetServiceConfig(NoneRequest resMsg)
 {
     return new ResponseMessageWrap<ServiceConfigResponse>
     {
         Body = ServiceLoader.Instance.ServiceConfig
     };
 }
Example #2
0
 public ResponseMessageWrap <ServiceConfigResponse> GetServiceConfig(NoneRequest resMsg)
 {
     return(new ResponseMessageWrap <ServiceConfigResponse>
     {
         Body = ServiceLoader.Instance.ServiceConfig
     });
 }
 public ResponseMessageWrap<GetAllResponse> GetAll(NoneRequest reqMsg)
 {
     var categoryList = service.GetAll();
     return new ResponseMessageWrap<GetAllResponse>
     {
         Body = new GetAllResponse
         {
             CategoryList = categoryList
         }
     };
 }
Example #4
0
        public ResponseMessageWrap <GetAllResponse> GetAll(NoneRequest reqMsg)
        {
            var categoryList = service.GetAll();

            return(new ResponseMessageWrap <GetAllResponse>
            {
                Body = new GetAllResponse
                {
                    CategoryList = categoryList
                }
            });
        }