Пример #1
0
        int IUserReviewsDataAdapter.AddNewUserReview(UserReviewDM userReviewDM)
        {
            IModelBuilder <UserReview, UserReviewDM> domainToEntityModelBuilder = new UserReviewDomainEntityModelBuilder();

            AddNewUserReviewOperation addNewUserReviewOperation = new AddNewUserReviewOperation();

            UserReview userReviewDataEntity = domainToEntityModelBuilder.Build(userReviewDM);

            return(addNewUserReviewOperation.AddNewUserReview(userReviewDataEntity));
        }
Пример #2
0
 int IUserReviewsDataAdapter.DeleteExistingUserReview(UserReviewDM userReviewDM)
 {
     throw new NotImplementedException();
 }