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)); }
public override Tuple <bool, string> AppointStoreOwner(string owner, string appoint, int store) { return(appointService.AppointStoreOwner(owner, appoint, store)); }