Esempio n. 1
0
 public DeleteCommandHandler(
     IKanbanRepository repository,
     IKanbanAccessService accessService,
     MimirDbContext dbContext) : base(repository, accessService)
 {
     _dbContext = dbContext;
 }
Esempio n. 2
0
        public KanbanController(IKanbanRepository repository, string catalog, LoginView view)
        {
            this._LoginId = view.LoginId.ToLong();
            this._UserId = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog = catalog;

            this.KanbanRepository = repository;
        }
Esempio n. 3
0
        public KanbanController(IKanbanRepository repository, string catalog, LoginView view)
        {
            this._LoginId  = view.LoginId.ToLong();
            this._UserId   = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog  = catalog;

            this.KanbanRepository = repository;
        }
Esempio n. 4
0
        public KanbanController()
        {
            this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog = AppUsers.GetCurrentUserDB();

            this.KanbanRepository = new MixERP.Net.Schemas.Core.Data.Kanban
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId = this._UserId
            };
        }
Esempio n. 5
0
        public KanbanController()
        {
            this._LoginId  = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId   = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog  = AppUsers.GetCurrentUserDB();

            this.KanbanRepository = new MixERP.Net.Schemas.Core.Data.Kanban
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId  = this._UserId
            };
        }
Esempio n. 6
0
        protected override void Initialize(HttpControllerContext context)
        {
            base.Initialize(context);

            if (this.KanbanRepository == null)
            {
                this.KanbanRepository = new Frapid.Config.DataAccess.Kanban
                {
                    _Catalog = this.MetaUser.Catalog,
                    _LoginId = this.MetaUser.LoginId,
                    _UserId = this.MetaUser.UserId
                };
            }
        }
Esempio n. 7
0
        public KanbanController()
        {
            this._LoginId  = AppUsers.GetCurrent().View.LoginId.To <long>();
            this._UserId   = AppUsers.GetCurrent().View.UserId.To <int>();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.To <int>();
            this._Catalog  = AppUsers.GetCatalog();

            this.KanbanRepository = new Frapid.Config.DataAccess.Kanban
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId  = this._UserId
            };
        }
Esempio n. 8
0
 public KanbanItemsController(ApplicationDbContext context, IKanbanRepository repos, IEmailSender emailSender)
 {
     _context     = context;
     _repos       = repos;
     _emailSender = emailSender;
 }
 public EditKanbanItemCommandHandler(IKanbanRepository repository, IKanbanAccessService accessService) : base(repository, accessService)
 {
 }
Esempio n. 10
0
 public KanbanController(IKanbanRepository repository)
 {
     this.KanbanRepository = repository;
 }
 public KanbanBoardController(ApplicationDbContext context, IKanbanRepository repos)
 {
     _context = context;
     _repos   = repos;
 }
 public MoveKanbanColumnCommandHandler(IKanbanRepository repository, IKanbanAccessService accessService)
     : base(repository, accessService)
 {
 }
 public KanbanBoardCommandHandler(IKanbanRepository repository, IKanbanAccessService accessService)
 {
     _repository    = repository;
     _accessService = accessService;
 }
Esempio n. 14
0
 public KanbanController(ISettingsRepository settingsRepo, IKanbanRepository kanbanRepo, IMapper mapper)
 {
     _mapper       = mapper;
     _kanbanRepo   = kanbanRepo;
     _settingsRepo = settingsRepo;
 }
Esempio n. 15
0
 public Kanban(IKanbanRepository kanbanRepository)
 {
     _kanbanRepository = kanbanRepository;
 }