//An asynchronous Task which takes in the info which is sent to proxy method, API call made to create post in db public async Task <IPosts> CreatePost(string topic, string title, string message) { string[] baseVote = new string[] { "BaseVote" }; return(await _postsProxy.PostPost(new Posts { Topic = topic, Title = title, Content = message, UpVote = baseVote, DownVote = baseVote, UserId = App.user.Id, Uname = App.user.Uname })); }