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

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

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

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

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

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

            return(e);
        }