Example #1
0
        public BaseResponse DeleteMap(int mapId)
        {
            var result = new BaseResponse();

            ExecuteMaps(entities => MapService.DeleteMap(entities, mapId), result);

            return result;
        }
        public BaseResponse SaveFingerprintForNode(int nodeId, Fingerprint fingerprint)
        {
            var result = new BaseResponse();

            ExecuteMaps(entities => FingerprintService.SaveFingerprintForNode(entities, nodeId, fingerprint), result);

            return result;
        }
Example #3
0
        public BaseResponse DeleteGraphForFloor(int floorId)
        {
            var result = new BaseResponse();

            ExecuteMaps(entities => GraphService.DeleteGraphForFloor(entities, floorId), result);

            return result;
        }
Example #4
0
        public BaseResponse Register(string userName, string password)
        {
            var result = new BaseResponse();

            ExecuteUsers(entities => UserService.Register(entities, userName, password), result);

            return result;
        }
Example #5
0
        public BaseResponse Logout(string userName)
        {
            var result = new BaseResponse();

            ExecuteUsers(entities => UserService.Logout(entities, userName), result);

            return result;
        }
Example #6
0
        public BaseResponse SaveQRCodeForNode(int nodeId, string qrCode)
        {
            var result = new BaseResponse();

            ExecuteMaps(entities => InformationService.SaveQRCodeForNode(entities, nodeId, qrCode), result);

            return result;
        }
Example #7
0
        public BaseResponse SaveNFCForNode(int nodeId, string nfcTag)
        {
            var result = new BaseResponse();

            ExecuteMaps(entities => InformationService.SaveNFCForNode(entities, nodeId, nfcTag), result);

            return result;
        }