Exemplo n.º 1
0
        public IGetResponse GetCameraList()
        {
            //Todo: List Cameras from database.
            var db      = new SqliteDB();
            var devices = db.GetDevices();

            for (int i = 0; i < devices.Count; i++)
            {
                devices[i].Username = "******";
                devices[i].Password = "******";
            }

            return(new GetResponse(GetResponse.ResponseStatus.OK,
                                   devices
                                   ));
        }