public Owner Create(Owner owner) { _context.Attach(owner).State = EntityState.Added; _context.SaveChanges(); return(owner); }
public Pet Create(Pet pet) { _context.Attach(pet).State = EntityState.Added; _context.SaveChanges(); return(pet); }
public User Create(User user) { _context.Attach(user).State = EntityState.Added; _context.SaveChanges(); return(user); }
public Color Create(Color color) { _context.Attach(color).State = EntityState.Added; _context.SaveChanges(); return(color); }