Exemplo n.º 1
0
 public string Post([FromBody] NewsFeed newsFeed)
 {
     try
     {
         storedProcedure.AddNewsFeed(newsFeed.LoginID.ToString(), newsFeed.NewsFeedMessage.ToString());
         return("Message Posted");
     }
     catch
     {
         return("Failed to Post");
     }
 }