예제 #1
0
 public void Inicializar()
 {
     Mapper.Reset();
     MapperInit.MapearDTOs();
     mockRepositorioCliente = new Mock <IRepositorioCliente>();
     mockRepositorioItem    = new Mock <IRepositorioItem>();
     mockRepositorioPedido  = new Mock <IRepositorioPedido>();
     mockServicoMensageria  = new Mock <IServicoMensageria>();
     mockLogger             = new Mock <ILogger <LojaStoneFacade> >();
 }
예제 #2
0
 public Startup(IConfiguration configuration)
 {
     Configuration = configuration;
     MapperInit.MapearDTOs();
 }