public static void OnBeforeDeleteStep(ITicketSurveyor ticketsurveyor, ISession session) { if (ticketsurveyor.IsPrimary == true) { throw new ApplicationException("can not Delete Primary Inspector!!!"); } }
public static void OnBeforeDeleteStep( ITicketSurveyor ticketsurveyor, ISession session) { if(ticketsurveyor.IsPrimary == true) { throw new ApplicationException("can not Delete Primary Inspector!!!"); } }