public static void HandlePostPending(PendingDisplayModel input) { if (input.SubmitAction == "Approve") { DbAccess.ApprovePendingRating(input); } else { DbAccess.RejectPendingRating(input); } }