Skip to content

Instantly share code, notes, and snippets.

@mustafaxfe
Created February 5, 2024 16:57
Show Gist options
  • Save mustafaxfe/a59f18fc8c62597ccadc87f2fbb8aaad to your computer and use it in GitHub Desktop.
Save mustafaxfe/a59f18fc8c62597ccadc87f2fbb8aaad to your computer and use it in GitHub Desktop.
using Business.Abstract;
using Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Text;
namespace Business.Concrete
{
public class PttManager : ISupplierService
{
private IApplicantService _applicantService;
public PttManager(IApplicantService applicantService) //Constructor new
{
_applicantService = applicantService;
}
public void GiveMask(Person person)
{
if (true)
{
Console.WriteLine("test1");
//Console.WriteLine(person.FirstName + " için maske verildi");
}
if (_applicantService.CheckPerson(person)==false)
{
Console.WriteLine(person.FirstName + " için maske verildi");
}
else
{
//Console.WriteLine("test2");
Console.WriteLine(person.FirstName + " için maske verilemedi");
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment