示例#1
0
        public byte[] HandleAppointOwner(string json)
        {
            AppointOwnerRequest  res = JsonConvert.DeserializeObject <AppointOwnerRequest>(json);
            Tuple <bool, string> ans = appointService.AppointStoreOwner(res.Appointer, res.Appointed, res.StoreId);
            string jsonAns           = Seralize(new AppointOwnerResponse(ans.Item1, ans.Item2));

            return(security.Encrypt(jsonAns));
        }
示例#2
0
 public override Tuple <bool, string> AppointStoreOwner(string owner, string appoint, int store)
 {
     return(appointService.AppointStoreOwner(owner, appoint, store));
 }