Example #1
0
 public void Delete(About about)
 {
     if (about.AboutStatus == true)
     {
         about.AboutStatus = false;
     }
     else if (about.AboutStatus == false)
     {
         about.AboutStatus = true;
     }
     _aboutDal.Update(about);
 }
Example #2
0
 public void Delete(About entity)
 {
     if (entity.AboutStatus == false)
     {
         entity.AboutStatus = true;
         _aboutDal.Update(entity);
     }
     else
     {
         entity.AboutStatus = false;
         _aboutDal.Update(entity);
     }
 }
Example #3
0
        public void Update(About about)
        {
            ValidationTool.Load(new AboutRules(), about);



            _aboutDal.Update(about);
        }
Example #4
0
 public void Update(About about)
 {
     _aboutDal.Update(about);
 }
Example #5
0
 public IResult Update(About about)
 {
     _aboutDal.Update(about);
     return(new SuccessResult(Messages.AboutUpdated));
 }
Example #6
0
 public void Update(About entity)
 {
     _aboutDal.Update(entity);
 }
Example #7
0
 public void AboutUpdate(About about) => _aboutDal.Update(about);
 public IResult Update(About about)
 {
     _aboutDal.Update(about);
     return(new SuccessResult("Güncellendi"));
 }
Example #9
0
 public void AboutUpdate(About about)
 {
     _abouteDal.Update(about);
 }
Example #10
0
 public IResult Update(About about)
 {
     _aboutDal.Update(about);
     return(new SuccessResult());
 }
Example #11
0
 public void AboutDelete(About about)
 {
     /*_aboutDal.Delete(about);*/
     _aboutDal.Update(about);
 }
 public IResult Update(About content)
 {
     _aboutDal.Update(content);
     return(new SuccessResult());
 }