Exemplo n.º 1
0
        public void UpdatePartnerStatus(string loginName, PartnerStatus newStatus)
        {
            IPartner partner = GetPartnerByLoginName(loginName);

            DalPartner dal = new DalPartner(this.storageAccount, this.container);

            partner.Status = newStatus;
            dal.Save(partner as Partner);
        }
Exemplo n.º 2
0
        public void SavePartner(IPartner partner)
        {
            DalPartner dal = new DalPartner(this.storageAccount, this.container);

            dal.Save(partner as Partner);
        }