Exemple #1
0
        public void AddRating(RatingEntity rating)
        {
            if (ReferenceEquals(rating, null))
            {
                throw new ArgumentNullException(nameof(rating));
            }

            photoRepository.AddRating(rating.ToDalRating());
            uow.Commit();
        }