public IActionResult Delete(AkuOzellik akuOzellik) { var result = _akuOzellikService.Delete(akuOzellik); if (result.Success) { return(Ok(result.Message)); } return(BadRequest(result.Message)); }
public IResult Delete(AkuOzellik akuOzellik) { _akuOzellikDal.Delete(akuOzellik); return(new SuccessResult(Messages.AkuOzellikDeleted)); }
public IResult Update(AkuOzellik akuOzellik) { _akuOzellikDal.Update(akuOzellik); return(new SuccessResult(Messages.AkuOzellikUpdated)); }
public IResult Add(AkuOzellik akuOzellik) { _akuOzellikDal.Add(akuOzellik); return(new SuccessResult(Messages.AkuOzellikAdded)); }