Exemplo n.º 1
0
        static void Main(string[] args)
        {
            RecognitionGateway recognitionGateway = new RecognitionGateway();
              RecognitionService recognitionService = new RecognitionService(recognitionGateway);

              decimal totalRecognized = recognitionService.RecognizedRevenue(1, DateTime.Now);
              Console.WriteLine("Total recognized is: " + totalRecognized);
        }
 public RecognitionService(RecognitionGateway dbGateway)
 {
     _dbGateway = dbGateway;
 }