public async Task <string> GetPost([FromQuery] int postid) { var Post = await _context.GetPostAsync(postid); return(JsonConvert.SerializeObject(new { Post }, ControllersServices.JsonSettings)); }