示例#1
0
 /// <summary>
 /// Constructor to inject the instance of the repository
 /// </summary>
 /// <param name="repository"></param>
 public StudentBLL(Model.IRepository repository)
 {
     if (repository == null)
     {
         throw new ArgumentNullException();
     }
     _repository = repository;
 }
        public DepartmentSignValueChoosingModel(Model.IRepository repository, int idorder) : base(repository, idorder, 178)
        {
            _DepartmentIdSignValueId = new Dictionary <int, int>();

            // Дилерский отдел - Дилерский
            _DepartmentIdSignValueId.Add(66, 676);

            // Корпоративный отдел - Корпоративный
            _DepartmentIdSignValueId.Add(67, 677);

            // Диз и Арх - Диз и Арх
            _DepartmentIdSignValueId.Add(384, 678);

            // СКС - СКС
            _DepartmentIdSignValueId.Add(83, 679);
        }
 /// <summary>
 /// Constructor to inject the instance of the repository
 /// </summary>
 /// <param name="repository"></param>
 public StudentBLL(Model.IRepository repository)
 {
     if (repository == null)
         throw new ArgumentNullException();
     _repository = repository;
 }