private void Validate(IssueModel model, Issue issue, string actionName)
        {
            if (!string.IsNullOrEmpty(actionName))
            {
                if (actionName == WorkflowActionName.Approve)
                {
                    if (model.IssueDate != null && model.IssueDate < DateTime.UtcNow.Date)
                    {
                        ModelState.AddModelError("", _localizationService.GetResource("Issue.IssueDateCannotEarlierThanToday"));
                    }
                    if (issue.IsApproved == true)
                    {
                        ModelState.AddModelError("", _localizationService.GetResource("Record.AlreadyApproved"));
                    }

                    var insufficientList = _issueService.CheckSufficientQuantity(issue);
                    if (insufficientList.Count > 0)
                    {
                        foreach (var item in insufficientList)
                        {
                            ModelState.AddModelError("", string.Format(_localizationService.GetResource("Issue.InSufficientQuantiy"), item.ItemName, item.StoreLocatorName));
                        }
                    }
                }
            }
        }