Esempio n. 1
0
        public async Task <UserEvent> InsertUserEventAsync(UserEvent userevent)
        {
            _context.UserEvent.Add(userevent);
            await _context.SaveChangesAsync();

            return(userevent);
        }
Esempio n. 2
0
        public async Task <UserGroups> InsertUserGroupAsync(UserGroups usergroups)
        {
            _context.UserGroups.Add(usergroups);
            await _context.SaveChangesAsync();

            return(usergroups);
        }
Esempio n. 3
0
        public async Task <AspNetUsers> InsertAspNetUsersAsync(AspNetUsers AspNetUsers)
        {
            _context.AspNetUsers.Add(AspNetUsers);
            await _context.SaveChangesAsync();

            return(AspNetUsers);
        }
Esempio n. 4
0
        public async Task <Group> InsertGroupAsync(Group group)
        {
            _context.Group.Add(group);
            await _context.SaveChangesAsync();

            return(group);
        }
Esempio n. 5
0
        public async Task <Family> InsertFamilyAsync(Family Family)
        {
            _context.Family.Add(Family);
            await _context.SaveChangesAsync();

            return(Family);
        }
Esempio n. 6
0
        public async Task <Event> InsertEventAsync(Event e)
        {
            _context.Event.Add(e);
            await _context.SaveChangesAsync();

            return(e);
        }