public CategoriaControllerTest()
 {
     _categoriaRepository = Substitute.For <ICategoriaRepository>();
     _iCategoriaServices  = Substitute.For <ICategoriaServices>();
     _categoriaController = new CategoriaController(_iCategoriaServices);
     _iIformFile          = Substitute.For <IFormFile>();
 }
Exemplo n.º 2
0
 public PostsController(IPostsServices postsServices, ICategoriaServices categoriaServices)
 {
     this.postsServices     = postsServices;
     this.categoriaServices = categoriaServices;
 }
 public CategoriaController(ICategoriaServices categoriaServices)
 {
     _categoriaServices = categoriaServices;
 }
Exemplo n.º 4
0
 public NavViewComponent(ICategoriaServices categoriaServices)
 {
     this.categoriaServices = categoriaServices;
 }
Exemplo n.º 5
0
 public CategoriaServiceTest()
 {
     _categoriaRepository = Substitute.For <ICategoriaRepository>();
     _categoriaServices   = new CategoriaServices(_categoriaRepository);
     _iIformFile          = Substitute.For <IFormFile>();
 }
 public CategoriaValidationTest()
 {
     _categoriaRepository = Substitute.For <ICategoriaRepository>();
     _categoriaService    = new CategoriaServices(_categoriaRepository);
 }
Exemplo n.º 7
0
 public CategoriaController(ICategoriaServices services)
 {
     _services = services;
 }
Exemplo n.º 8
0
 public CategoriaAppService(ICategoriaServices categoriaServices, IUnitOfWork uow) : base(uow)
 {
     _categoriaServices = categoriaServices;
 }