Skip to content

Instantly share code, notes, and snippets.



Last active Feb 25, 2020
What would you like to do?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace InjecaoDependenciaASPNETCore
public class Servico : IServico
private int contador;
public Servico()
contador = 0;
public string RetornaValor()
return $"Servico: {contador}";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment