/// <summary>
        /// Удаление счёта
        /// </summary>
        /// <param name="accountId">Уникальный идентификатор счёта</param>
        public ActionResult DeleteAccount(string accountId)
        {
            int id;

            if (!int.TryParse(accountId, out id))
            {
                RedirectToAction("Accounts", new { message = string.Format("{0}. {1} {2}", Resource.ErrorMessageIdMustBeInteger, Resource.TextCurrentValue, accountId) });
            }

            string message;
            var    signalCount = accountRepository.GetSignalCount(id);

            if (signalCount == null)
            {
                message = Resource.ErrorMessageDataAccess;
            }
            else
            {
                message = signalCount > 0
                              ? string.Format("{0}: {1} - {2}. {3}: {4}",
                                              Resource.ErrorMessage,
                                              Resource.ErrorMessageCanNotDellAccount,
                                              Resource.MessageForRemovMustNotBeSignal,
                                              Resource.MessageSignalCountNow,
                                              signalCount)
                              : AccountUtils.Delete(id);
            }



            return(Accounts(message));
        }