void IReportDatabase.Add(StudyYearDto item) { items.Add(item); }
public ActionResult Add(StudyYearDto item) { ServiceLocator.CommandBus.Send(new CreateStudyYearCommand(Guid.NewGuid(), item._definedSubjects, item.Version)); return(RedirectToAction("Index")); }