public IActionResult CreateReplacementPayment()
        {
            var actionItem = new ReplacementPayment
            {
                Id     = idGenerator.GetId(),
                Status = StatusType.InProgress
            };

            actionItemRepository.Add(actionItem);

            return(View("ReplacementPayment", actionItem));
        }
        public IActionResult CreateReplacementPaymentWithSuspenseDef(int id)
        {
            var item = actionItemRepository.Get(id);

            var replacementPayment = new ReplacementPayment
            {
                Id     = idGenerator.GetId(),
                Status = StatusType.PendingApproval
            };

            replacementPayment.AssociatedActions.Add(item);
            actionItemRepository.Add(replacementPayment);

            return(RedirectToAction("Index"));
        }