// helpers

        // assumes that we are not looking for the parcels-via-transect area

        private ActionResult RedirectToAppropriateStep(OnlandVisualTrashAssessmentViewModel viewModel,
                                                       OVTASection ovtaSection, OnlandVisualTrashAssessment ovta)
        {
            return(Redirect(viewModel.AutoAdvance
                ? ovtaSection.GetNextSectionUrl(ovta)
                : ovtaSection.GetSectionUrl(ovta)));
        }
Example #2
0
 /// <summary>
 /// Enum types are equal by primary key
 /// </summary>
 public bool Equals(OVTASection other)
 {
     if (other == null)
     {
         return(false);
     }
     return(other.OVTASectionID == OVTASectionID);
 }