Exemplo n.º 1
0
 public ViewResult Blogs(Posts p)
 {
     PostsRepository.records.UserName = p.UserName;
     PostsRepository.records.Add(p);
     UserDB.AddPost(p);
     return(View("Blogs", PostsRepository.records));
 }