Exemple #1
0
 public IResult Add(Ogrenci ogrenci)
 {
     ogrenci.Sifre = BCrypt.Net.BCrypt.HashPassword(ogrenci.Sifre);
     _ogrencidal.Add(ogrenci);
     return(new SuccessResult(Messages.Added));
 }
Exemple #2
0
 public IResult Add(Ogrenci ogrenci)
 {
     //ValidationTools.Validate(new OgrenciValidator(), ogrenci);
     _ogrenciDal.Add(ogrenci);
     return(new SuccessResult(Messages.Added));
 }
Exemple #3
0
 public void Add(Ogrenci ogrenci)
 {
     ValidationTools.Validate(new OgrenciValidator(), ogrenci);
     _ogrenciDal.Add(ogrenci);
 }
Exemple #4
0
 public void Add(Ogrenci ogrenci)
 {
     _OgrenciDal.Add(ogrenci);
 }