Пример #1
0
        public IResult Delete(int id)
        {
            var value = _writerDal.Get(x => x.Id == id);

            _writerDal.Delete(value);
            return(new SuccessResult());
        }
        public void Delete(Writer writer)
        {
            ValidationTool.Load(new WriterRules(), writer);



            _writerDal.Delete(writer);
        }
Пример #3
0
 public void WriterDelete(Writer writer)
 {
     _writerDal.Delete(writer);
 }
Пример #4
0
 public IResult Delete(Writer writer)
 {
     _writerDal.Delete(writer);
     return(new SuccessResult(Messages.WriterDeleted));
 }
 public IResult Delete(Writer writer)
 {
     _writerDal.Delete(writer);
     return(new SuccessResult());
 }
Пример #6
0
 public void WriterDelete(Writer writer)
 {
     //irepoda tanımlanan delete idye karşılık geleni silecek.
     _writerDal.Delete(writer);
 }
Пример #7
0
 public IResult Delete(Writer writer)
 {
     _writerDal.Delete(writer);
     return(new SuccessResult("Yazar başarıyla silindi"));
 }
Пример #8
0
 public void DeleteWriter(Writer writer)
 {
     _writerDal.Delete(writer);
 }