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); }
public void WriterDelete(Writer writer) { _writerDal.Delete(writer); }
public IResult Delete(Writer writer) { _writerDal.Delete(writer); return(new SuccessResult(Messages.WriterDeleted)); }
public IResult Delete(Writer writer) { _writerDal.Delete(writer); return(new SuccessResult()); }
public void WriterDelete(Writer writer) { //irepoda tanımlanan delete idye karşılık geleni silecek. _writerDal.Delete(writer); }
public IResult Delete(Writer writer) { _writerDal.Delete(writer); return(new SuccessResult("Yazar başarıyla silindi")); }
public void DeleteWriter(Writer writer) { _writerDal.Delete(writer); }