public MessageService() { _userSession = new SPKTCore.Core.Impl.UserSession(); _messageRepository = new SPKTCore.Core.DataAccess.Impl.MessageRepository(); _messageRecipientRepository = new SPKTCore.Core.DataAccess.Impl.MessageRecipientRepository(); _accountRepository = new SPKTCore.Core.DataAccess.Impl.AccountRepository(); _email =new SPKTCore.Core.Impl.Email(); }
public LoadMessagePresenter() { _messageRepository = new MessageRepository(); _messageRecipientRepository = new MessageRecipientRepository(); _userSession = new UserSession(); _webContext = new WebContext(); _ac = new AccountRepository(); }
public MessageService() { _userSession = new SPKTCore.Core.Impl.UserSession(); _messageRepository = new SPKTCore.Core.DataAccess.Impl.MessageRepository(); _messageRecipientRepository = new SPKTCore.Core.DataAccess.Impl.MessageRecipientRepository(); _accountRepository = new SPKTCore.Core.DataAccess.Impl.AccountRepository(); _email = new SPKTCore.Core.Impl.Email(); }
public BriefMessage() { _messageRepository = new MessageRepository(); _messageRecipientRepository = new MessageRecipientRepository(); _userSession = new UserSession(); _webContext = new WebContext(); _ac = new AccountRepository(); }
public LoadMessagePresenter() { _messageRepository = new MessageRepository(); _messageRecipientRepository = new MessageRecipientRepository(); _userSession = new UserSession(); _webContext = new WebContext(); _ac = new AccountRepository(); }
protected void Page_Load(object sender, EventArgs e) { _messageService = new SPKTCore.Core.Impl.MessageService(); _webContext = new SPKTCore.Core.Impl.WebContext(); _ac = new SPKTCore.Core.DataAccess.Impl.AccountRepository(); _ms = new SPKTCore.Core.DataAccess.Impl.MessageRecipientRepository(); _bi = new BriefMessage(); _mi = new SPKTCore.Core.DataAccess.Impl.MessageRepository(); Image1.Enabled = false; //ImageButton1.Enabled = false; pn3.Visible = false; }
public MessageService(IMessageRepository messageRepository, IPushService pushService, ICommunicationService communicationService, IQueueService queueService, IUserProfileService userProfileService, IMessageRecipientRepository messageRecipientRepository) { _messageRepository = messageRepository; _pushService = pushService; _communicationService = communicationService; _queueService = queueService; _userProfileService = userProfileService; _messageRecipientRepository = messageRecipientRepository; }
public UnitOfWork(ApplicationDbContext context, UserManager <ApplicationUser> userRepository, SignInManager <ApplicationUser> signInRepository, IEmailSender emailSender, IPhoneRepository phoneRepository, IMessageRepository messageRepository, IAdditInfoRepository additInfoRepository, IMessageRecipientRepository messageRecipientRepository) { EmailSender = emailSender; UserRepository = userRepository; SignInRepository = signInRepository; PhoneRepository = phoneRepository; MessageRepository = messageRepository; AdditInfoRepository = additInfoRepository; MessageRecipientRepository = messageRecipientRepository; this.context = context; }
protected void Page_Load(object sender, EventArgs e) { _messageService = new SPKTCore.Core.Impl.MessageService(); _webContext = new SPKTCore.Core.Impl.WebContext(); _ac = new SPKTCore.Core.DataAccess.Impl.AccountRepository(); _ms = new SPKTCore.Core.DataAccess.Impl.MessageRecipientRepository(); _bi = new BriefMessage(); _mi = new SPKTCore.Core.DataAccess.Impl.MessageRepository(); Image1.Enabled = false; //ImageButton1.Enabled = false; pn3.Visible = false; }