Beispiel #1
0
        public async Task <HttpStatusCode> DeletePublicChatMessage(int id)
        {
            PublicChatsController publicChatsController = new PublicChatsController();
            var status = await publicChatsController.DeletePublicChatAsync(id);

            return(status);
        }
Beispiel #2
0
        public async Task <HttpStatusCode> EditPublicChatMessage(PublicChat publicChat)
        {
            PublicChatsController publicChatsController = new PublicChatsController();
            var status = await publicChatsController.UpdatePublicChatAsync(publicChat);

            return(status);
        }
Beispiel #3
0
        public async Task <List <PublicChat> > GetPublicChatMessagesList(int count, int id)
        {
            PublicChatsController publicChatsController = new PublicChatsController();
            var publicChats = await publicChatsController.GetAllPublicChatsAsync(count, id);

            return(publicChats);
        }