Ejemplo n.º 1
0
 public BusinessLogicTests()
 {
     mockPostRepository = new Mock <IPostRepository>();
     adminBusinessLayer = new AdminBusinessLayer(mockPostRepository.Object);
     postBusinessLayer  = new PostBusinessLayer(mockPostRepository.Object);
 }
Ejemplo n.º 2
0
 public AdminController()
 {
     adminBL = new AdminBusinessLayer();
 }