コード例 #1
0
        public Rating CreateRate(CreateRateRequest request, long loggedUserID)
        {
            var entity = MoviesRepository.CreateRate(request.MovieID, request.Score, request.Text, loggedUserID, request.Anonymous);

            return(Mapper.Map <Rating>(entity));
        }