/// <summary> /// This method is used to get my messages /// </summary> /// <returns></returns> public object GetMyReciviedMessage(MessageRecipientCustomModel model) { using (_IMessageRepo = new MessageRepo()) { return(_IMessageRepo.GetMyReciviedMessage(model)); } }
public object GetOurOldMessage(int SenderId, int ReceiverId) { using (_IMessageRepo = new MessageRepo()) { return(_IMessageRepo.GetOurOldMessage(SenderId, ReceiverId)); } }
public ConsumerService(//IDataProducer dataProducer, IMessageRepo messageRepo ) { // _dataProducer = dataProducer; _messageRepo = messageRepo; }
public ChatService(IChatRepo chatRepo, IUserRepo userRepo, IMessageRepo messageRepo, IMessageReadStatusRepo messageReadStatusRepo) { _chatRepo = chatRepo; _userRepo = userRepo; _messageRepo = messageRepo; _messageReadStatusRepo = messageReadStatusRepo; }
public MessageService( IServiceConfigurations configurations, IMessageRepo commentsRepo) { _commentsRepo = commentsRepo; _connection = new NpgsqlConnection(configurations.dbConnectionString); }
/// <summary> /// This method is used to save new messages /// </summary> /// <returns></returns> public OperationStatus SubmitMessage(MessageCustomModel model) { using (_IMessageRepo = new MessageRepo()) { return(_IMessageRepo.SubmitMessage(model)); } }
/// <summary> /// This method is used to get my sent messages /// </summary> /// <returns></returns> public object GetMySentMessage(MessageCustomModel model) { using (_IMessageRepo = new MessageRepo()) { return(_IMessageRepo.GetMySentMessage(model)); } }
public AdminController(UserManager <AppUser> usrMgr, ApplicationDbContext c, IUserRepo u, IChatRepo chat, IMessageRepo m) { userManager = usrMgr; context = c; userRepo = u; chatRepo = chat; messageRepo = m; }
public ChatRoom( ICallbackQueue callbackQueue, IDateTimeSvc dateTimeSvc, IMessageRepo messageRepo) { this.callbackQueue = callbackQueue; this.dateTimeSvc = dateTimeSvc; this.messageRepo = messageRepo; }
public MessagesController(UserManager <AppUser> usrMgr, IReplyRepo r, IMessageRepo m, IChatRepo c) { // repos this.replyRepo = r; this.messageRepo = m; this.chatRepo = c; // user managers this.userManager = usrMgr; }
public ForumAPIController(UserManager <AppUser> usrMgr, IReplyRepo r, IMessageRepo m, IChatRepo c, IUserRepo u) { // repos this.replyRepo = r; this.messageRepo = m; this.chatRepo = c; // user managers this.userManager = usrMgr; this.userRepo = u; }
public MessageController(IMessageRepo repo) { repository = repo; }
public ChatHub(IMessageRepo msgRepo) { repo = msgRepo; }
public MessagesController(IMessageRepo repo) { _repo = repo; }
public ApiSearchController(IMessageRepo repo) { _repo = repo; }
public MessageHub(ApplicationDbContext context, UserManager <ApplicationUser> usermanager, IMessageRepo _repo) { _context = context; _usermanager = usermanager; repo = _repo; }
public HomeController(ICustomerRepo ICustRepo, IMessageRepo IMsgRepo) { this.MessageRepo = IMsgRepo; this.CustomerRepo = ICustRepo; }
public ApiProfileController(IMessageRepo repo) { _repo = repo; }
public MessageController(IMessageRepo messageRepo) { this.messageRepo = messageRepo; }
//private UserManager<User> userManager; //private SignInManager<User> signInManager; public MessageController(IMessageRepo repo) { Repo = repo; }
public MessageService(IMessageRepo messageRepo, IStopwordRemovalService stopwordRemovalService) { _messageRepo = messageRepo; _stopwordRemovalService = stopwordRemovalService; }
public MessageService(ILogger logger, IMessageRepo repo) : base(logger) { _repo = repo; }
public MessagingController(IUserRepo u, IMessageRepo m) { // THIS IS DEPENDENCY INJECTION userRepo = u; messageRepo = m; }
public ValuesController(IMessageRepo repo) { this.repo = repo; }
//Init constructor public MessageController() { messageRepo = new MessageRepo(new Connection(), new ReactionRepo(new Connection())); errors = new LogErrors(); }
public MessageService(IMessageRepo repo) { _repo = repo; }
public MessagingManager(IReservationRepo resRepo, IMessageRepo mesRepo) { _reservationRepo = resRepo; _messageRepo = mesRepo; }
public HelloWorldController(IMessageRepo messageRepo) { _messageRepo = messageRepo; }