Пример #1
0
 public void UpdateSponsor(string oldid, [FromBody] Sponsor item)
 {
     logic.Update(oldid, item);
 }
Пример #2
0
        public IActionResult EditSponsor(Sponsor s)
        {
            sponsorlogic.Update(s.SponsorId, s);

            return(View(nameof(ListSponsors), sponsorlogic.List()));
        }