示例#1
0
//        [ValidateAntiForgeryToken]
        public List <AssociatedUserChatNotifications> GetChannelNotifications([FromBody] IncomingIdRequest request)
        {
            var result = new  List <AssociatedUserChatNotifications>();

            using (var context = new ChatContext(Context, Configuration))
            {
                result = context.GetChatNotifications(request.Id, UserId);
            }
            return(result);
        }