public int GetUserId()
        {
            // DB検索実施
            IUsersRepository authenticationRepository = new UsersRepositoryImpl();
            Users            result = authenticationRepository.GetUserId();

            return(result.Id);
        }
        public ResultGetUser GetUser()
        {
            // DB検索実施
            IUsersRepository authenticationRepository = new UsersRepositoryImpl();
            var result = authenticationRepository.GetAllUsers();

            return(new ResultGetUser(result));
        }
        public int DeleteUser(UsersDeleteModel _param)
        {
            // DB検索用パラメータークラス用意
            DeleteUserParam DeleteUserParam = new DeleteUserParam();

            DeleteUserParam.Id = _param.Id;

            // 削除実施
            IUsersRepository authenticationRepository = new UsersRepositoryImpl();
            var result = authenticationRepository.DeleteUser(DeleteUserParam);

            return(result);
        }
        public int AddUser(UsersRegisterModel _param)
        {
            // DB検索用パラメータークラス用意
            RegistUserParam registUserParam = new RegistUserParam();

            registUserParam.UserId    = _param.UserId;
            registUserParam.UserPass  = _param.UserPass;
            registUserParam.StaffKbn  = _param.StaffKbn;
            registUserParam.StoreCode = _param.StoreCode;

            // DB検索実施
            IUsersRepository authenticationRepository = new UsersRepositoryImpl();
            var result = authenticationRepository.AddUser(registUserParam);

            return(result);
        }