示例#1
0
 public PeriodicalEditionViewModel Edit([FromBody] PeriodicalEditionViewModel periodicalEdition)
 {
     service.UpdatePeriodicalEdition(periodicalEdition);
     return(service.GetPeriodicalEditionViewModel(periodicalEdition.Id));
 }
        public ActionResult EditPeriodicalEdition(int id)
        {
            var periodical = service.GetPeriodicalEditionViewModel(id);

            return(PartialView(periodical));
        }