コード例 #1
0
ファイル: TimeLine.cs プロジェクト: WafflesNL/4Events
 /// <summary>
 /// Likes the post from the parameter into the Data access layer
 /// </summary>
 /// <param name="post">The selected post from Tijdlijnform<param>
 /// <returns>True if changes are allowed false if not</returns>
 public void ReportPost(Post post)
 {
     Check = DatabaseEditPost.ReportPost(post);
 }
コード例 #2
0
ファイル: TimeLine.cs プロジェクト: WafflesNL/4Events
 /// <summary>
 /// Likes the post from the parameter into the Data access layer
 /// </summary>
 /// <param name="post">The selected post from Tijdlijnform<param>
 /// <returns>True if changes are allowed false if not</returns>
 public void LikePost(Post post)
 {
     Check = DatabaseEditPost.LikePost(post);
 }