Beispiel #1
0
 public void Delete(NobreakDemandData nobreakDemandData)
 {
     _repository.Remover(nobreakDemandData);
 }
Beispiel #2
0
 public void Create(NobreakDemandData nobreakDemandData)
 {
     _repository.Adicionar(nobreakDemandData);
 }
Beispiel #3
0
 public void Update(NobreakDemandData nobreakDemandData)
 {
     _repository.Atualizar(nobreakDemandData);
 }
 public void CreateNobreakDemandData(NobreakDemandData data)
 {
     Context.Set <NobreakDemandData>().Add(data);
     Context.SaveChanges();
 }