using Blazored.Modal.Services; using decePubClient.Models; using decePubClient.Models.Types; namespace decePubClient.Services { public class MessagesService { readonly IModalService modalService; readonly IStorage storage; readonly HttpClient http; public MessagesService(IHttpClientFactory clientFactory, IModalService modalService, IStorage storage) { this.modalService = modalService; this.storage = storage; http = clientFactory.CreateClient("default"); } //Covers also direct message public async Task SubmitMessage(MessageForm messageForm) { //TODO await Task.Run(() => {}); return new(); } //Covers also direct message public async Task ReplyMessage(Message messageToReply, MessageType messageType = MessageType.Public) { //TODO await Task.Run(() => {}); return messageToReply; } public async Task BoostUnboostMessage(Message messageToReply) { //TODO await Task.Run(() => {}); return messageToReply; } public async Task FavouriteUnfavouriteMessage(Message messageToReply) { //TODO await Task.Run(() => {}); return messageToReply; } public async Task DeleteMessage(Message messageToReply) { //TODO await Task.Run(() => {}); return messageToReply; } public async Task BlockUserFromMessage(MessageUser messageUser) { //TODO await Task.Run(() => {}); return messageUser; } public async Task SilenceUserFromMessage(MessageUser messageUser) { //TODO await Task.Run(() => {}); return messageUser; } } }