Exemplo n.º 1
0
 public ReturnObject updateDeckRating(int deckId, double rating)
 {
     try
     {
         carddeckRepository.updateRating(deckId, rating);
         return(new ReturnObject(true, "Rating updated."));
     }
     catch (Exception e)
     {
         return(new ReturnObject(false, e.Message));
     }
 }