public IActionResult Update(AkuTipi akuTipi) { var result = _akuTipiService.Update(akuTipi); if (result.Success) { return(Ok(result.Message)); } return(BadRequest(result.Message)); }
public IResult Delete(AkuTipi akuTipi) { _akuTipiDal.Delete(akuTipi); return(new SuccessResult(Messages.AkuTipiDeleted)); }
public IResult Update(AkuTipi akuTipi) { _akuTipiDal.Update(akuTipi); return(new SuccessResult(Messages.AkuTipiUpdated)); }
public IResult Add(AkuTipi akuTipi) { _akuTipiDal.Add(akuTipi); return(new SuccessResult(Messages.AkuTipiAdded)); }