Ejemplo n.º 1
0
        public List <UserSettings> GetUserSettingsForCamera(int cameraId)
        {
            List <DatabaseUser> dbUserList   = _dbQueryService.GetUsersWithCameraViewAccess(cameraId);
            List <UserSettings> userSettings = new List <UserSettings>();

            foreach (DatabaseUser dbUser in dbUserList)
            {
                userSettings.Add(new UserSettings(dbUser));
            }

            return(userSettings);
        }