Ejemplo n.º 1
0
        public byte[] HandleDemoteManager(string json)
        {
            DemoteManagerRequest res = JsonConvert.DeserializeObject <DemoteManagerRequest>(json);
            Tuple <bool, string> ans = appointService.RemoveStoreManager(res.Appointer, res.Appointed, res.StoreId);
            string jsonAns           = Seralize(new DemoteManagerResponse(ans.Item1, ans.Item2));

            return(security.Encrypt(jsonAns));
        }
Ejemplo n.º 2
0
 public override Tuple <bool, string> RemoveStoreManager(string owner, string appoint, int store)
 {
     return(appointService.RemoveStoreManager(owner, appoint, store));
 }