Пример #1
0
 private string RouteExistingRegistration(OnlineRegModel m, int? pid = null)
 {
     var existingRegistration = m.GetExistingRegistration(pid ?? Util.UserPeopleId ?? 0);
     if (existingRegistration == null)
         return null;
     m.Log("Existing");
     TempData["PeopleId"] = existingRegistration.UserPeopleId;
     return "/OnlineReg/Existing/" + existingRegistration.DatumId;
 }