Пример #1
0
        public async Task <ThanksCard> PutThanksCardAsync(ThanksCard thanksCard)
        {
            IRestService rest = new RestService();
            ThanksCard   updatedThanksCard = await rest.PutThanksCardAsync(thanksCard);

            return(updatedThanksCard);
        }
Пример #2
0
        public async Task <ThanksCard> DeleteThanksCardAsync(long Id)
        {
            IRestService rest = new RestService();
            ThanksCard   deletedThanksCard = await rest.DeleteThanksCardAsync(Id);

            return(deletedThanksCard);
        }
Пример #3
0
        public async Task <ThanksCard> PostThanksCardAsync(ThanksCard thanksCard)
        {
            IRestService rest = new RestService();
            ThanksCard   createdThanksCard = await rest.PostThanksCardAsync(thanksCard);

            return(createdThanksCard);
        }