public Ticket CreateNewTicket(Ticket SpaceTicket) { var ticket = _WSSC.Ticket.Add(SpaceTicket).Entity; _WSSC.SaveChanges(); return(ticket); }
public User CreateNewUser(User newUser) { var user = _WSSC.Users.Add(newUser).Entity; _WSSC.SaveChanges(); return(user); }