Exemplo n.º 1
0
 public sp_User_BooksRegister_Result SetUserLikesBooks(string pUserId, int pGenreId)
 {
     using (touchdbEntities context = new touchdbEntities())
     {
         var pBookRegistered = context.sp_User_BooksRegister(Guid.Parse(pUserId), pGenreId).FirstOrDefault();
         return(pBookRegistered);
     }
 }