public Task <int> SaveAsync(models.Option v) { if (v.ID != 0) { return(_database.UpdateAsync(v)); } else { return(_database.InsertAsync(v)); } }
public Task <int> DeleteAsync(models.Option v) { return(_database.DeleteAsync(v)); }
public Task <int> SaveAsync(models.Option v) { if (v.ID != 0) { return(_database.UpdateAsync(v)); } else { return(_database.InsertAsync(v)); } }
public Task <int> DeleteAsync(models.Option v) { return(_database.DeleteAsync(v)); }