Demo entry 5932025

321

   

Submitted by 123 on Sep 07, 2016 at 06:06
Language: C#. Code size: 769 Bytes.

  /// <summary>
    /// Модель для хранения данных о Статусах неначисления
    /// </summary>
    public class NotCalculationStatusCommandViewModel : BaseCalculationCommandViewModel<NotCalculationStatusViewModel>
    {
        /// <summary>
        /// Определяет возможность менять статус
        /// </summary>
        public bool CanChangeStatus { get; set; }

        public NotCalculationStatusCommandViewModel()
        {
        }

        public NotCalculationStatusCommandViewModel(int loanID, NotCalculationStatusExecuteResult data) : base(loanID)
        {
            CanChangeStatus = data.CanChangeStatus;
            Data = data.Credits.NotCalculationStatuses.Select(r => new NotCalculationStatusViewModel(r)).ToList();
        }
    }

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).