public void Add(Personel entity) { ValidationTool.Validate(validator, entity); dal.Add(entity); }
//[FluentValidationAspect(typeof(Microsoft.VisualStudio.TextTemplating8419A0B83E38449666535B438C8B65A520BAABB17F52B9D39F3CBF25BABBEEA00902FAE3481D6B0E3EF3F101D2A87BED58B273A73F08F8254A58C876398A7C04.GeneratedTextTransformation+DatabaseTableValidatior))] //[CacheRemoAspect(typeof(MemoryCacheManager))] public Personel Add(Personel personel) { //ValidatorTool.FluentValidate( new Microsoft.VisualStudio.TextTemplating8419A0B83E38449666535B438C8B65A520BAABB17F52B9D39F3CBF25BABBEEA00902FAE3481D6B0E3EF3F101D2A87BED58B273A73F08F8254A58C876398A7C04.GeneratedTextTransformation+DatabaseTableValidatior(), Personel); return(_personelDal.Add(personel)); }
public Personel Add(Personel entity) { return(dal.Add(entity)); }
public void Add(Personel personel) { _personelDal.Add(personel); }
public IResult Add(Personel personel) { _personelDal.Add(personel); return(new SuccessResult(message: "Personel başarıyla eklendi")); }
public void Add(Personel personel) { ValidationTool.Validate(new PersonelValidator(), personel); _personelDal.Add(personel); }