public ActionResult SetArchiveDefaultSchedule(Guid idArchive, Guid taskPeriodSetId) { var service = new PreservationService(); service.AddPreservationScheduleArchive(new PreservationScheduleArchive { IdSchedule = taskPeriodSetId, IdArchive = idArchive }); return(View("ArchivePreservationTask", ArchivePreservationModel(idArchive))); }