void ICreate <Padrinho> .Create(Padrinho entitie)
 {
     throw new NotImplementedException();
 }
 public void Update(Padrinho entidade)
 {
     _context.Padrinho.Update(entidade);
     _context.SaveChanges();
 }
 void Create(Padrinho entitie)
 {
     _context.Padrinho.Add(entitie);
     _context.SaveChanges();
 }
Exemple #4
0
 public PadrinhoValidatorUnitTests()
 {
     _validator = new PadrinhoValidator();
     _padrinho  = new Padrinho("", null, "", "");
 }