public void PostCatagoryRepositoryCreate() { PostCatagory postCatagory = new PostCatagory(); postCatagory.Name = "Test-Catagory"; postCatagory.Alias = "Test-Catagory"; postCatagory.Status = true; var result = iPostCatagoryRepository.Add(postCatagory); iUnitOfWork.Commit(); }
public PostCatagory Add(PostCatagory postCatagory) { return(_iPostCatagoryRepository.Add(postCatagory)); }