public IActionResult Delete(AkuOzellik akuOzellik)
        {
            var result = _akuOzellikService.Delete(akuOzellik);

            if (result.Success)
            {
                return(Ok(result.Message));
            }

            return(BadRequest(result.Message));
        }
Exemple #2
0
 public IResult Delete(AkuOzellik akuOzellik)
 {
     _akuOzellikDal.Delete(akuOzellik);
     return(new SuccessResult(Messages.AkuOzellikDeleted));
 }
Exemple #3
0
 public IResult Update(AkuOzellik akuOzellik)
 {
     _akuOzellikDal.Update(akuOzellik);
     return(new SuccessResult(Messages.AkuOzellikUpdated));
 }
Exemple #4
0
 public IResult Add(AkuOzellik akuOzellik)
 {
     _akuOzellikDal.Add(akuOzellik);
     return(new SuccessResult(Messages.AkuOzellikAdded));
 }