Пример #1
0
        public async Task <RO <Client> > CustomerMove([FromBody] MovedClientData movedClient)
        {
            var ro = new RO <Client>();

            var result = await VendorDL.CustomerMove(movedClient);

            if (result != null)
            {
                ro.ReturnCode  = 0;
                ro.ReturnValue = result;
            }
            else
            {
                ro.ReturnCode = 100;
            }
            return(ro);
        }