public Record Create(Record itemToCreate) { var record = _context.Records.Add(itemToCreate); _context.SaveChanges(); return(record); }
public User Create(User itemToCreate) { var user = _context.Users.Add(itemToCreate); _context.SaveChanges(); return(user); }
public Patient Create(Patient itemToCreate) { var patient = _context.Patients.Add(itemToCreate); _context.SaveChanges(); return(patient); }
public Role CreateRole(Role itemToCreate) { var role = _context.Roles.Add(itemToCreate); _context.SaveChanges(); return(role); }
public Refraction Create(Refraction itemToCreate) { var refraction = _context.Refractions.Add(itemToCreate); _context.SaveChanges(); return(refraction); }