예제 #1
0
 public bool Update(models.Type type) => db.Update(type) > 0;
예제 #2
0
 public bool Delete(models.Type type) => db.Delete(type) > 0;
예제 #3
0
 public bool Add(models.Type type) => (int)db.Insert(type) > 0;
예제 #4
0
 public bool Update(models.Type type) => typeRepository.Update(type);
예제 #5
0
 public bool Delete(models.Type type) => typeRepository.Delete(type);
예제 #6
0
 public bool Add(models.Type type) => typeRepository.Add(type);