Exemplo n.º 1
0
 public int Add(Cattle cattle)
 {
     db.Entry(cattle).State = EntityState.Added;
     return(db.SaveChanges());
 }
Exemplo n.º 2
0
 public int Add(Ranch ranch)
 {
     db.Entry(ranch).State = EntityState.Added;
     return(db.SaveChanges());
 }
Exemplo n.º 3
0
 public int Add(Insemination insemination)
 {
     db.Entry(insemination).State = EntityState.Added;
     return(db.SaveChanges());
 }
Exemplo n.º 4
0
 public int Add(Milk milk)
 {
     db.Entry(milk).State = EntityState.Added;
     return(db.SaveChanges());
 }
Exemplo n.º 5
0
 public int Add(Token token)
 {
     db.Entry(token).State = EntityState.Added;
     return(db.SaveChanges());
 }