public void Create(PostEntity post)
        {
            DataModel.VPost dataModel = ObjectMapper.Map <PostEntity, DataModel.VPost>(post);
            int?            postId    = _modelDataService.Create(dataModel);

            post.PostId = postId;
        }
 public void Update(PostEntity post)
 {
     DataModel.VPost dataModel = ObjectMapper.Map <PostEntity, DataModel.VPost>(post);
     _modelDataService.Update(post.PostId, dataModel);
 }