Пример #1
0
 public BusinessIndexModel(AccountBase accountBase, int pageCount, int currentPage)
 {
     this.AccountBase = accountBase;
     this.pageCount = pageCount;
     this.currentPage = currentPage;
     Setup();
 }
Пример #2
0
        public PromoIndexModel(AccountBase accountBase, Guid businessId)
        {
            this.AccountBase = accountBase;
            this.BusinessId = businessId;

            Setup();
        }
Пример #3
0
        public BusinessModel(AccountBase accountBase, Guid id = new Guid(), Role role = Role.BusinessAdmin, String message = null)
        {
            this.AccountBase = accountBase;
            this.BusinessId = id;
            this.Message = message;

            Setup();
        }
Пример #4
0
        public PromoIndexModel(BusinessLogic.AccountBase accountBase, Guid? businessId, string businessName)
        {
            // TODO: Complete member initialization
            this.AccountBase = accountBase;
            this.BusinessId = businessId;
            this.BusinessName = businessName;

            Setup();
        }
Пример #5
0
 public AccountController(AccountBase accountBase)
 {
     this.AccountBase = accountBase;
 }
Пример #6
0
 public BusinessController(AccountBase accountBase, ILogger logger)
 {
     this.AccountBase = accountBase;
     this.Log = logger;
 }
Пример #7
0
 public InvitationController(AccountBase accountBase, ILogger logger)
 {
     this.AccountBase = accountBase;
 }
Пример #8
0
 public PromotionController(AccountBase account)
 {
     this.AccountBase = account;
 }
Пример #9
0
 public EventController(AccountBase accountBase, ILogger log)
 {
     this.AccountBase = accountBase;
     this.Log = log;
 }
Пример #10
0
 public EventDiscoveryModel(AccountBase ab)
 {
     this.account = ab;
     Setup();
 }
Пример #11
0
 public PromoCreateModel(AccountBase accountBase, Guid businessId, ModelEntities.Promotion promotion)
 {
     this.AccountBase = accountBase;
     this.BusinessId = businessId;
     this.Promotion = promotion;
 }
Пример #12
0
 public BusinessCreateEditModel(AccountBase accountBase, ModelEntities.Business business, Role role)
 {
     this.AccountBase = accountBase;
     this.Business = business;
     this.Role = role;
 }
Пример #13
0
 public PromotionController(AccountBase accountBase, ILogger logger)
 {
     this.AccountBase = accountBase;
 }