示例#1
0
 public int AddToBacklog(int id, int userId)
 {
     if (!GetUserBacklog(userId).Any(b => b.Id == id))
     {
         return(Context.AddToBacklog(id, userId));
     }
     else
     {
         return(0);
     }
 }