public IResult Delete(Platform platform) { _platformDal.Delete(platform); return(new SuccessResult(Messages.OperationSuccessful)); }
public async Task Delete(int platformId) { await _platformDal.Delete(new Platform { Id = platformId }); }
public IResult Delete(Platform platform) { _platformDal.Delete(platform); return(new SuccessResult(Messages.OperationSuccessful)); }
public async Task Delete(int platformId) { await _platformDal.Delete(new Platform { Id = platformId }); }