private Create ( |
||
comment | ||
Результат | System.Web.Mvc.ActionResult |
public void CreateController() { repository = new Mock<ICommentsRepository>(); controller = new CommentsController(repository.Object); result = controller.Create(comment); }