public void Delete(About about) { if (about.AboutStatus == true) { about.AboutStatus = false; } else if (about.AboutStatus == false) { about.AboutStatus = true; } _aboutDal.Update(about); }
public void Delete(About entity) { if (entity.AboutStatus == false) { entity.AboutStatus = true; _aboutDal.Update(entity); } else { entity.AboutStatus = false; _aboutDal.Update(entity); } }
public void Update(About about) { ValidationTool.Load(new AboutRules(), about); _aboutDal.Update(about); }
public void Update(About about) { _aboutDal.Update(about); }
public IResult Update(About about) { _aboutDal.Update(about); return(new SuccessResult(Messages.AboutUpdated)); }
public void Update(About entity) { _aboutDal.Update(entity); }
public void AboutUpdate(About about) => _aboutDal.Update(about);
public IResult Update(About about) { _aboutDal.Update(about); return(new SuccessResult("Güncellendi")); }
public void AboutUpdate(About about) { _abouteDal.Update(about); }
public IResult Update(About about) { _aboutDal.Update(about); return(new SuccessResult()); }
public void AboutDelete(About about) { /*_aboutDal.Delete(about);*/ _aboutDal.Update(about); }
public IResult Update(About content) { _aboutDal.Update(content); return(new SuccessResult()); }