Created
February 5, 2024 16:57
-
-
Save mustafaxfe/a59f18fc8c62597ccadc87f2fbb8aaad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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