Example #1
0
        public void PostCategoryRepository_Create()
        {
            PostCategory postCategory = new PostCategory();

            postCategory.Name   = "tessttt";
            postCategory.Alias  = "Tessssss";
            postCategory.Status = true;

            var result = postCategoryReposiroty.Add(postCategory);

            unitOfWork.Commit();
        }
 public PostCategory Add(PostCategory category)
 {
     return(_postCategory.Add(category));
 }