public void Update(ApplyPromoter model) { if (model == null || model.Id <= 0) { return; } _applyRepository.Update(model); }
public void Insert(ApplyPromoter model) { if (model == null || model.Id > 0) { return; } _applyRepository.Insert(model); }